Commit 047b1802 authored by liuzhaoh's avatar liuzhaoh

导入功能修改

parent 8b3773b5
......@@ -372,8 +372,12 @@ const handleError = () => {
const handleSuccess = (res) => {
if (res.code == 1) {
if (res.data && res.data.length > 0) {
let text = ''
res.data.forEach(item => {
text += `第${item.row}行:${item.rule}\n;`
})
ElMessage({
message: res.msg,
message: `${res.msg}${text}`,
type: "error",
duration: 5 * 1000,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment