feat: 修改已知问题

This commit is contained in:
caijun
2026-01-27 09:00:58 +08:00
parent 46c351151b
commit 22d656889a
5 changed files with 132 additions and 13 deletions

View File

@@ -65,14 +65,23 @@
},
}
},
watch:{
current:{
handler(val){
uni.setStorageSync('fromNonTabBar', val);
},
immediate: true
}
},
onShow() {
const fromNonTabBar = uni.getStorageSync('fromNonTabBar');
console.log(fromNonTabBar,'fromNonTabBar---')
if(!fromNonTabBar){
this.current = 1
}else {
this.current = 0
}
this.current = fromNonTabBar && Number(fromNonTabBar)
// if(!fromNonTabBar){
// this.current = 1
// }else {
// this.current = 0
// }
uni.removeStorageSync('fromNonTabBar');
uni.$off('operate')
uni.$on('refresh', () => {