From ae204bf1bd68d7fb506b4536584e2726eee327c0 Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Thu, 3 Sep 2020 14:39:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=B3=E8=BF=B9=E6=94=B6=E8=97=8F=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/shop/collect/index.vue | 1 + src/views/shop/foot/index.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 }, // 新增与编辑前做的操作