fuwei 5 лет назад
Родитель
Сommit
9b44fd8a6a
1 измененных файлов с 0 добавлено и 19 удалено
  1. 0 19
      ghs/src/mixins/globalMixins.js

+ 0 - 19
ghs/src/mixins/globalMixins.js

@@ -15,9 +15,6 @@ export default {
 			pageTo: pageTo
 		}
 	},
-	// computed: {
-	// 	...mapGetters({ userInfo: 'getUser' })
-	// },
 	// 页面生命周期才触发
 	onLoad: function (option) {
 		this.option = option || null
@@ -70,22 +67,6 @@ export default {
 		if (this.init) {
 			this.init()
 		}
-
-		// getCheckLogin().then(res => {
-		// 	if (constant.source == 'store') {
-		// 		if (res) {
-		// 			getUser()
-		// 		}
-		// 	}
-		// })
-		// wxLoginFn().then(res => {
-		// 	if (this.init) {
-		// 		if (constant.source == 'store') {
-		// 			getUser()
-		// 		}
-		// 		this.init()
-		// 	}
-		// })
 	},
 	mounted() {
 		if (this.mInit) {