From 4cd90eb284f7ca01be2498535d2f699f50b0b6f2 Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:39:50 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E6=89=B9=E9=87=8F=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/src/pages/product/productList/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/template/admin/src/pages/product/productList/index.vue b/template/admin/src/pages/product/productList/index.vue index 54234602e..e889c1281 100644 --- a/template/admin/src/pages/product/productList/index.vue +++ b/template/admin/src/pages/product/productList/index.vue @@ -145,12 +145,12 @@ v-model="batchModal" class="batch-box" scrollable - closable + :closable="false" title="批量设置" :mask-closable="false" width="1000" @on-ok="batchSub" - @on-visible-change="clearBatchData" + @on-cancel="clearBatchData" >
{ this.$Message.success(res.msg); this.getDataList(); - this.clearBatchData(); + this.clearBatchData(false); + this.ids = []; + this.clearAll(false); }) .catch((err) => { this.$Message.error(err.msg); @@ -477,9 +479,7 @@ export default { coupon_ids: [], recommend: [], }; - this.ids = []; this.dataLabel = []; - this.clearAll(false); } }, // 批量设置商品