From 179167c1941129bc012e191ecba2f48137ff96c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8F?= <1978476055@qq.com> Date: Fri, 18 Oct 2024 11:34:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=88=B7=E6=96=B0,=E4=BF=AE=E6=94=B9=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/views/admin/index.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/admin/src/views/admin/index.vue b/admin/src/views/admin/index.vue index 1f59718a..f85db77b 100644 --- a/admin/src/views/admin/index.vue +++ b/admin/src/views/admin/index.vue @@ -405,12 +405,10 @@ export default { this.$message({ message: "线路添加成功", type: "success", - onclose: async () => { - let res = await getProductsList(); - this.options = res.data.data; - this.platformList = res.ext.oss; - }, }); + let res = await getProductsList(); + this.options = res.data.data; + this.platformList = res.ext.oss; } } else { return false; @@ -444,7 +442,7 @@ export default { // console.log(res.data.data); this.options = res.data.data; this.platformList = res.ext.oss; - this.item = item; + this.item = { ...item }; this.item.product_ids = item.product_ids.split(",").map((item) => { return Number(item); });