忆雪 hace 1 año
padre
commit
2a5991078a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/pages/tabbar/components/TapList.vue

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

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