From eb7c29c647df5f3aa335f5075e78fdf7c675079d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 18 六月 2020 15:33:36 +0800 Subject: [PATCH] 解决文件上传bug,因undertow与tomcat对文件写入的底层实现不同,无需创建新文件 --- 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