first commit

This commit is contained in:
lingxiao865
2026-02-10 08:05:03 +08:00
commit c5af079d8c
1094 changed files with 97530 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
export function goBackOrGoHome(home = '/pages/home/home') {
const pages = getCurrentPages();
if (pages.length > 1) {
uni.navigateBack();
} else {
uni.navigateTo({
url: home,
});
}
}
export default goBackOrGoHome;