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/ComChangeEdit.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/views/fysp/check/components/ComChangeEdit.vue b/src/views/fysp/check/components/ComChangeEdit.vue index 293da55..6660d76 100644 --- a/src/views/fysp/check/components/ComChangeEdit.vue +++ b/src/views/fysp/check/components/ComChangeEdit.vue @@ -62,7 +62,6 @@ </template> <script> import problemApi from '@/api/fysp/problemApi.js'; -import CompGenericWrapper from './CompGenericWrapper.vue'; import { $fysp } from '@/api/index.js'; import fileUtil from '@/utils/fileUtils.js'; import { useCloned } from '@vueuse/core'; @@ -70,7 +69,6 @@ export default { emits: ['submit', 'cancel'], components: { - CompGenericWrapper }, watch: { oldChangeFileList: { @@ -164,6 +162,7 @@ }, onCancel() { this.$emit("cancel") + this.$emit('update:visible', false) }, onSubmit() { if (!this.pictureValidate()) { -- Gitblit v1.9.3