忆雪 11 months ago
parent
commit
2a5991078a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/pages/tabbar/components/TapList.vue

+ 2 - 2
src/pages/tabbar/components/TapList.vue

@@ -123,10 +123,10 @@
 			/*===========================================================*/
 			/*===========================================================*/
 			// 获取商家信息
 			// 获取商家信息
 			async getMerchantAuth() {
 			async getMerchantAuth() {
-				 
+				 let res = await getMerchantAuthData();
 				if (res.code === 'OK' && res.data) {
 				if (res.code === 'OK' && res.data) {
 					
 					
-					let res = await getMerchantAuthData();
+					 
 					console.log(res, "获取商家信息")
 					console.log(res, "获取商家信息")
 					this.$store.dispatch('SwitchIdentity', 'MERCHANT')
 					this.$store.dispatch('SwitchIdentity', 'MERCHANT')
 					// 将数据存储到vuex中
 					// 将数据存储到vuex中