|
@@ -59,6 +59,19 @@
|
|
|
import tipMiddleDialog from '@/components/dialog/tipMiddleDialog.vue';
|
|
|
import telDialog from './telDialog.vue'
|
|
|
import {MESSAGE_VISITER_TO_LOGIN} from "@/utils/constant.js"
|
|
|
+ import {
|
|
|
+ onShow
|
|
|
+ } from '@dcloudio/uni-app';
|
|
|
+ onShow(() => {
|
|
|
+ if(!cacheManager.get('auth')){
|
|
|
+ youkeFun();
|
|
|
+ }else{
|
|
|
+ // 非游客
|
|
|
+ noYoukeFun();
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
const zhangId = ref(null);
|
|
|
const nianji = ref(null);
|
|
|
const cardId = ref(null);
|
|
@@ -267,10 +280,7 @@
|
|
|
if(!cacheManager.get('auth')){
|
|
|
// 游客
|
|
|
routerOpt = options;
|
|
|
- youkeFun();
|
|
|
}else{
|
|
|
- // 非游客
|
|
|
- noYoukeFun();
|
|
|
}
|
|
|
})
|
|
|
|