From 55d42cc7a2e6e21e1f8e06ca80089fe911914ac9 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期四, 21 十一月 2024 11:20:16 +0800
Subject: [PATCH] 弹窗,抽屉关闭的操作放在统一包裹组件中

---
 src/views/fysp/check/components/CompProblemAddOrUpd.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/fysp/check/components/CompProblemAddOrUpd.vue b/src/views/fysp/check/components/CompProblemAddOrUpd.vue
index 940347a..2cf3bc9 100644
--- a/src/views/fysp/check/components/CompProblemAddOrUpd.vue
+++ b/src/views/fysp/check/components/CompProblemAddOrUpd.vue
@@ -214,7 +214,6 @@
   </CompGenericWrapper>
 </template>
 <script>
-import CompGenericWrapper from './CompGenericWrapper.vue';
 import ArbitraryPhoto from './ArbitraryPhoto.vue';
 import CompLedgerPhoto from './CompLedgerPhoto.vue';
 import CompDevicePhoto from './CompDevicePhoto.vue';
@@ -232,7 +231,6 @@
     ArbitraryPhoto,
     CompDevicePhoto,
     CompLedgerPhoto,
-    CompGenericWrapper
   },
   props: {
     readonly: {
@@ -263,6 +261,7 @@
   },
   data() {
     return {
+      // fixme 2024.11.20 瀛愮粍浠跺垵濮嬪寲鏃舵満闂
       initPropsCount: 0,
       // 鍒濆棰勮鍥剧墖index
       initialIndex: -1,
@@ -588,6 +587,7 @@
     },
     onCancel() {
       this.$emit("cancel")
+      this.$emit('update:visible', false)
     },
     onSubmit() {
       this.$refs.formRef.validate((valid) => {

--
Gitblit v1.9.3