ZZ 1 месяц назад
Родитель
Сommit
d39c1f459b

+ 2 - 1
mer_uniapp/pages/merchant/detail/index.vue

@@ -89,7 +89,8 @@
 		mapGetters
 	} from 'vuex';
 	import {
-		getMerDetailApi
+		getMerDetailApi,
+		getMerIndexInfoApi
 	} from '@/api/merchant.js';
 	import {
 		chatConfig

+ 1 - 0
mer_uniapp/pages/merchant/home/index.vue

@@ -434,6 +434,7 @@
 			getMerchantInfoData() {
 				getMerchantInfo(this.merId).then(res => {
 					this.merchanInfo = res.data
+					this.$store.commit('MERCHANTJINFO', res.data);
 				});
 			},
 			// 跳转详情