From 58eeed4bbd72f65f694b4fd8fe67d439be384c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 31 May 2022 11:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=95=86=E5=93=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=8E=A7=E4=BB=B6-=E6=B7=BB=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E5=93=81=E7=A7=8D=E5=90=8E=E9=87=8D=E5=A4=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/lili-dialog/index.vue | 3 +++ manager/src/views/lili-floor-renovation/wap/decorate.vue | 1 + 2 files changed, 4 insertions(+) diff --git a/manager/src/views/lili-dialog/index.vue b/manager/src/views/lili-dialog/index.vue index 85e8c7f0..b2f4ef69 100644 --- a/manager/src/views/lili-dialog/index.vue +++ b/manager/src/views/lili-dialog/index.vue @@ -24,6 +24,9 @@ export default { }; }, methods: { + clearGoodsSelected(){ + this.goodsData = [] + }, // 关闭弹窗 clickClose() { this.$emit("closeFlag", false); diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue index 78d50203..9356dec5 100644 --- a/manager/src/views/lili-floor-renovation/wap/decorate.vue +++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue @@ -455,6 +455,7 @@ export default { }, // 打开图片选择器 liliDialogFlag(flag) { + this.$refs.liliDialog.clearGoodsSelected() this.$refs.liliDialog.goodsFlag = flag; this.$refs.liliDialog.flag = true; },