From f4024cc7cc44e1176601bb1641ced540897173a0 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Thu, 5 Dec 2024 23:18:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E7=BC=93=E5=AD=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/buns-edit-sheet/buns-edit-sheet.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/components/buns-edit-sheet/buns-edit-sheet.vue b/components/buns-edit-sheet/buns-edit-sheet.vue index b08975e..ed2f14b 100644 --- a/components/buns-edit-sheet/buns-edit-sheet.vue +++ b/components/buns-edit-sheet/buns-edit-sheet.vue @@ -5,8 +5,8 @@ @@ -37,6 +37,10 @@ if(v) { this.submitVals = JSON.parse(JSON.stringify(this.value)) } + setTimeout(()=> { + // 防止 弹框内容组件不更新、有缓存 + this.contShow = v + }, 350) } }, props: { @@ -74,6 +78,7 @@ }, data() { return { + contShow: false, submitVals: {} } },