diff --git a/manager/src/views/seller/shop/shopDetail.vue b/manager/src/views/seller/shop/shopDetail.vue index 56f0b3ba..ff7763b3 100644 --- a/manager/src/views/seller/shop/shopDetail.vue +++ b/manager/src/views/seller/shop/shopDetail.vue @@ -871,7 +871,9 @@ this.$set(this, "storeInfo", res.result); //因switch开关需要用到true或者false 所以进行一次格式化 this.storeInfo.storeDisable = this.storeInfo.storeDisable === "OPEN" ? true : false - this.checkAllGroup = this.storeInfo.goodsManagementCategory.split(","); + if(this.storeInfo.goodsManagementCategory != null){ + this.checkAllGroup = this.storeInfo.goodsManagementCategory.split(","); + } this.storeInfo.legalPhoto = this.storeInfo.legalPhoto.split(","); }); }, diff --git a/manager/src/views/seller/shop/shopList.vue b/manager/src/views/seller/shop/shopList.vue index 8e25b918..061b5f1a 100644 --- a/manager/src/views/seller/shop/shopList.vue +++ b/manager/src/views/seller/shop/shopList.vue @@ -24,7 +24,7 @@ @@ -329,6 +329,7 @@ export default { }, // 获取列表数据 getDataList() { + console.log(this.searchForm) this.loading = true; // 带多条件搜索参数获取表单数据 请自行修改接口 getShopListData(this.searchForm).then((res) => {