lilei vor 8 Monaten
Ursprung
Commit
97567b816e
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      pages/index/index.vue

+ 2 - 1
pages/index/index.vue

@@ -473,7 +473,8 @@
 			},
 			// 员工用户是否开启商城
 			getShopUserStatus(flag){
-				getShopUserParam({}).then(res=>{
+				const data = this.$store.state.vuex_storeShelf
+				getShopUserParam({shelfSn: data.shelfSn}).then(res=>{
 					const item = res.data
 					this.hasShopiing = item && item.paramMap && item.paramMap.mall_flag && item.paramMap.mall_flag.paramValue == 1
 					this.$store.state.vuex_hasShopiing = this.hasShopiing