|
|
@ -477,14 +477,14 @@ export default { |
|
|
|
(data, rspMsg) => { |
|
|
|
|
|
|
|
if (data.code === 0 && data.msg == 'success') { |
|
|
|
this.$message.success('导入成功') |
|
|
|
// this.$message.success('导入成功') |
|
|
|
} else { |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
message: rspMsg, |
|
|
|
duration: 0, |
|
|
|
type: "error" |
|
|
|
}) |
|
|
|
// this.$message({ |
|
|
|
// showClose: true, |
|
|
|
// message: rspMsg, |
|
|
|
// duration: 0, |
|
|
|
// type: "error" |
|
|
|
// }) |
|
|
|
// this.$message.error(rspMsg) |
|
|
|
} |
|
|
|
this.$emit('refreshTree') |
|
|
|