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: {} } },