修改问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user