From 2190d2f2d114543a6e19db1c43b4cbad556f1fd2 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Sat, 28 Feb 2026 11:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E4=BB=8B=E5=BA=93=E5=AF=BC=E5=85=A5bu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/ccdiIntermediary/components/ImportDialog.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/ccdiIntermediary/components/ImportDialog.vue b/ruoyi-ui/src/views/ccdiIntermediary/components/ImportDialog.vue index 5cac9aa..3abecc3 100644 --- a/ruoyi-ui/src/views/ccdiIntermediary/components/ImportDialog.vue +++ b/ruoyi-ui/src/views/ccdiIntermediary/components/ImportDialog.vue @@ -73,7 +73,7 @@ > {{ isUploading ? '导入中...' : '开始导入' }} - + 取 消 @@ -144,6 +144,10 @@ export default { this.isFileSelected = false; this.$emit("close"); }, + handleCancel() { + // 通过 $emit 通知父组件更新 visible 状态,而不是直接修改 prop + this.$emit('update:visible', false); + }, handleImportTypeChange() { if (this.$refs.upload) { this.$refs.upload.clearFiles();