修改未登录可以看两级的功能

This commit is contained in:
duan
2025-01-08 13:25:17 +08:00
parent 6284515bad
commit 9fb3e0e16c
5 changed files with 74 additions and 30 deletions

View File

@@ -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'
// })
// }
},
}