lilei 7 miesięcy temu
rodzic
commit
97567b816e
1 zmienionych plików z 2 dodań i 1 usunięć
  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