Browse Source

强制登录

master
453530270@qq.com 2 years ago
parent
commit
f05966c061
  1. 7
      pages/user/index.vue

7
pages/user/index.vue

@ -205,8 +205,13 @@
setCartTabBadge() setCartTabBadge()
// //
this.isLogin = checkLogin() this.isLogin = checkLogin()
if(!this.isLogin){
uni.navigateTo({
url:"/pages/login/index"
})
}
// //
this.getPageData() //this.getPageData()
}, },
// //

Loading…
Cancel
Save