|
|
@@ -27,7 +27,13 @@ export default {
|
|
|
this.checkLogin()
|
|
|
},
|
|
|
checkLogin() {
|
|
|
- $tab.reLaunch('/pages/login?type=autoLogin')
|
|
|
+ if(!getUserInfo()){
|
|
|
+ $tab.reLaunch('/pages/login')
|
|
|
+ }else{
|
|
|
+ $tab.reLaunch('/pages/login?type=autoLogin')
|
|
|
+ }
|
|
|
+
|
|
|
+ // $tab.reLaunch('/pages/login?type=autoLogin')
|
|
|
// const configStore=useConfigStore()
|
|
|
// const user = getUserInfo()
|
|
|
// if (!getUserInfo()) {
|