修改问题

This commit is contained in:
duan
2024-11-01 15:11:52 +08:00
parent 1a2efdf804
commit 7f55234a75
8 changed files with 26 additions and 16 deletions

View File

@@ -63,7 +63,13 @@
]
const currentInstance = getCurrentInstance()
onShow((options) => {
getlist()
let iToken = uni.getStorageSync('iToken')
console.log(iToken,'调试123')
if(iToken){
getlist()
}else{
uni.redirectTo({url: '/pages/login/index'})
}
});
function getlist(start, end) {