feat:0820需求

This commit is contained in:
2026-08-21 14:10:43 +08:00
parent 619c0cacc5
commit e8d4fd6cd4
31 changed files with 9112 additions and 3658 deletions
@@ -81,9 +81,21 @@ export default {
},
// 返回
onReturnClick() {
uni.switchTab({
url:'/pages/home/home'
})
const pages = getCurrentPages();
if (pages && pages.length > 1) {
uni.navigateBack({
delta: 1,
fail: () => {
uni.switchTab({
url: "/pages/home/home",
});
},
});
} else {
uni.switchTab({
url: "/pages/home/home",
});
}
},
},
};