修改未登录可以看两级的功能
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
//查看视频
|
||||
seVideo(item) {
|
||||
console.log(uni.getStorageSync('token'))
|
||||
if(uni.getStorageSync('token')){
|
||||
// if(uni.getStorageSync('token')){
|
||||
const time = 100;
|
||||
// #ifdef H5
|
||||
if (returnIsSafari()) {
|
||||
@@ -75,11 +75,11 @@
|
||||
})
|
||||
// #endif
|
||||
|
||||
}else{
|
||||
uni.navigateTo({
|
||||
url:'/pages/login/login'
|
||||
})
|
||||
}
|
||||
// }else{
|
||||
// uni.navigateTo({
|
||||
// url:'/pages/login/login'
|
||||
// })
|
||||
// }
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user