Selaa lähdekoodia

供货商处理首页报错

jf 5 vuotta sitten
vanhempi
commit
b9fe326f06
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      ghsApp/src/admin/home/workbench.vue
  2. 1 1
      ghsApp/src/mixins/globalMixins.js

+ 1 - 1
ghsApp/src/admin/home/workbench.vue

@@ -305,7 +305,7 @@ export default {
 	},
 	},
 	methods: {
 	methods: {
 		init() {
 		init() {
-      this._init
+      this._init()
 		},
 		},
     _init(){
     _init(){
       getWeixinId().then(res => {
       getWeixinId().then(res => {

+ 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()
 			}
 			}