diff --git a/src/views/shop/collect/index.vue b/src/views/shop/collect/index.vue index e918bbd..5d35c6f 100644 --- a/src/views/shop/collect/index.vue +++ b/src/views/shop/collect/index.vue @@ -116,6 +116,7 @@ export default { methods: { // 获取数据前设置好接口地址 [CRUD.HOOK.beforeRefresh]() { + const query = this.query this.crud.params[query.type] = 'collect' return true }, // 新增与编辑前做的操作 diff --git a/src/views/shop/foot/index.vue b/src/views/shop/foot/index.vue index a1e5a25..247ddd0 100644 --- a/src/views/shop/foot/index.vue +++ b/src/views/shop/foot/index.vue @@ -4,7 +4,7 @@
- + @@ -116,6 +116,7 @@ export default { methods: { // 获取数据前设置好接口地址 [CRUD.HOOK.beforeRefresh]() { + const query = this.query this.crud.params[query.type] = 'foot' return true }, // 新增与编辑前做的操作