From e9cf7f821a06d2e03c36af011f043f1267e1221e Mon Sep 17 00:00:00 2001 From: wuxing <wuxing> Date: 星期一, 24 六月 2024 19:48:51 +0800 Subject: [PATCH] 修复bug --- src/views/systemSetting/workshopManage/components/addDialog.vue | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/views/systemSetting/workshopManage/components/addDialog.vue b/src/views/systemSetting/workshopManage/components/addDialog.vue index 6135db5..50da818 100644 --- a/src/views/systemSetting/workshopManage/components/addDialog.vue +++ b/src/views/systemSetting/workshopManage/components/addDialog.vue @@ -138,7 +138,14 @@ }, watch: { - + 'editDiaConfig.visible'(newVal) { + if (newVal) { + // this.$nextTick(()=>{ + this.editConfig=this.editDiaConfig + this.$refs["ruleForm"].resetFields(); + // }) + } + }, }, methods: { handleClose(done) { -- Gitblit v1.8.0