wangn 5 éve
szülő
commit
0fa61f09e5

+ 3 - 0
ghsApp/src/admin/home/workbench.vue

@@ -305,6 +305,9 @@ export default {
 	},
 	},
 	methods: {
 	methods: {
 		init() {
 		init() {
+      this._init()
+		},
+    _init(){
       getWeixinId().then(res => {
       getWeixinId().then(res => {
 				this.getappIdList = res.data
 				this.getappIdList = res.data
 			});
 			});

+ 1 - 1
ghsApp/src/mixins/globalMixins.js

@@ -74,7 +74,7 @@ export default {
 
 
 	},
 	},
 	onShow(){
 	onShow(){
-		if (isLogin()) {
+		if (isLogin()&&!this.$util.isEmpty(this.getLoginInfo)) {
 			if (this.init) {
 			if (this.init) {
 				this.init()
 				this.init()
 			}
 			}