Commit 00573257 authored by 黎博's avatar 黎博

清数据提示优化

parent 6b92d165
...@@ -23,9 +23,9 @@ export default { ...@@ -23,9 +23,9 @@ export default {
clearYxmData() { clearYxmData() {
clearData(this.clearParams).then((resp) => { clearData(this.clearParams).then((resp) => {
if (resp.data.data === true) { if (resp.data.data === true) {
this.$message.success('数据清除成功!') return this.$message.success(resp.data.msg)
} else { } else {
return this.$message.error('数据清除失败!') return this.$message.error(resp.data.msg)
} }
}).catch((error) => { }).catch((error) => {
console.log(error) console.log(error)
......
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