From 694fb1962839743b11667e9c9adb69aad1c77ef6 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 15 六月 2020 13:07:14 +0800 Subject: [PATCH] 修复 上传文件重名问题 --- ruoyi-ui/src/views/system/dict/data.vue | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/system/dict/data.vue b/ruoyi-ui/src/views/system/dict/data.vue index 1580646..7108e32 100644 --- a/ruoyi-ui/src/views/system/dict/data.vue +++ b/ruoyi-ui/src/views/system/dict/data.vue @@ -119,7 +119,7 @@ /> <!-- 娣诲姞鎴栦慨鏀瑰弬鏁伴厤缃璇濇 --> - <el-dialog :title="title" :visible.sync="open" width="500px"> + <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form-item label="瀛楀吀绫诲瀷"> <el-input v-model="form.dictType" :disabled="true" /> @@ -305,8 +305,6 @@ this.msgSuccess("淇敼鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } else { @@ -315,8 +313,6 @@ this.msgSuccess("鏂板鎴愬姛"); this.open = false; this.getList(); - } else { - this.msgError(response.msg); } }); } @@ -352,4 +348,4 @@ } } }; -</script> \ No newline at end of file +</script> -- Gitblit v1.9.3