Commit 318628af by LJM

bug

parent 565179fc
Showing with 3 additions and 3 deletions
...@@ -278,7 +278,7 @@ export default { ...@@ -278,7 +278,7 @@ export default {
clearInterval(this.timer) clearInterval(this.timer)
return return
} }
this.resultDown(res.msg) this.resultDown(res.data)
}, 3000) }, 3000)
} }
}) })
...@@ -288,7 +288,7 @@ export default { ...@@ -288,7 +288,7 @@ export default {
id: id_ id: id_
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.disabled = false this.disabled = false;
this.$message("导出成功") this.$message("导出成功")
this.downHref = res.data this.downHref = res.data
setTimeout(() => { setTimeout(() => {
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
} else if (res.code == -1) { } else if (res.code == -1) {
//导出失败 //导出失败
this.$message({ this.$message({
message: res.data, message: res.msg,
type: 'error' type: 'error'
}); });
this.disabled = false this.disabled = false
......
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 sign in to comment