diff --git a/.env.development b/.env.development index cd9000d..df3cbfc 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ VITE_APP_NAME=后台管理系统 VITE_SOCKET_URL=wss://server.gxwebsoft.com VITE_SERVER_URL=https://server.gxwebsoft.com/api -VITE_API_URL=https://modules.gxwebsoft.com/api +#VITE_API_URL=https://modules.gxwebsoft.com/api #VITE_SERVER_URL=http://127.0.0.1:9091/api -#VITE_API_URL=http://127.0.0.1:9099/api +VITE_API_URL=http://127.0.0.1:9099/api diff --git a/src/api/shop/goodsCategory/model/index.ts b/src/api/shop/goodsCategory/model/index.ts index 085d9b2..24000f3 100644 --- a/src/api/shop/goodsCategory/model/index.ts +++ b/src/api/shop/goodsCategory/model/index.ts @@ -52,6 +52,8 @@ export interface GoodsCategory { label?: string; // 子菜单 children?: GoodsCategory[]; + // 商铺ID + merchantId?: number; } /** diff --git a/src/components/SelectGoodsCategory/index.vue b/src/components/SelectGoodsCategory/index.vue index 9ead2a0..c11aa46 100644 --- a/src/components/SelectGoodsCategory/index.vue +++ b/src/components/SelectGoodsCategory/index.vue @@ -12,11 +12,12 @@ + + diff --git a/src/views/shop/goodsCategory/components/search.vue b/src/views/shop/goodsCategory/components/search.vue new file mode 100644 index 0000000..48140c0 --- /dev/null +++ b/src/views/shop/goodsCategory/components/search.vue @@ -0,0 +1,181 @@ + + + + diff --git a/src/views/shop/goodsCategory/index.vue b/src/views/shop/goodsCategory/index.vue index bd84544..286f0b7 100644 --- a/src/views/shop/goodsCategory/index.vue +++ b/src/views/shop/goodsCategory/index.vue @@ -18,28 +18,13 @@ @expand="onExpand" > diff --git a/src/views/shop/merchant/index.vue b/src/views/shop/merchant/index.vue index 78760ed..53a47a8 100644 --- a/src/views/shop/merchant/index.vue +++ b/src/views/shop/merchant/index.vue @@ -30,8 +30,12 @@