From 92a41df10218a5d63fd9abccfb2ad5bb79cdd2b9 Mon Sep 17 00:00:00 2001
From: 13937891274 <kxc0822>
Date: 星期三, 10 八月 2022 11:00:20 +0800
Subject: [PATCH] 对接

---
 src/views/contingencyManagement/contingency/component/openAdd.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/contingencyManagement/contingency/component/openAdd.vue b/src/views/contingencyManagement/contingency/component/openAdd.vue
index af898bc..d5495f2 100644
--- a/src/views/contingencyManagement/contingency/component/openAdd.vue
+++ b/src/views/contingencyManagement/contingency/component/openAdd.vue
@@ -53,7 +53,7 @@
                     <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" class="mb20">
                         <el-form-item label="相关附件" prop="fileList">
                             <el-upload
-                                    v-model:file-list="ruleForm.fileList"
+                                    v-model:file-list="fileList"
                                     class="upload-demo"
                                     action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
                                     :on-change="handleChange"
@@ -346,6 +346,7 @@
                     if (!formEl) return;
                     await formEl.validate((valid, fields) => {
                         if (valid) {
+                          ruleForm.value.fileList=[]
                             isShowDialog.value = false;
                             contingencyApi()
                                 .editEmergencyTeam(ruleForm.value)

--
Gitblit v1.9.2