diff --git a/src/views/page/historyData.vue b/src/views/page/historyData.vue index a5d77ca..87ede94 100644 --- a/src/views/page/historyData.vue +++ b/src/views/page/historyData.vue @@ -306,6 +306,10 @@ export default { if (res.data.code == 200) { this.tableData1 = res.data.data.data this.total1 = res.data.data.totalCount + }else{ + this.$message.success(res.data.msg); + this.tableData1=[] + this.total1 =0 } }) }, @@ -339,6 +343,11 @@ export default { }); this.tableData.push(processedData) }) + }else{ + this.$message.success(res.data.msg); + this.tableList = [] + this.tableData = [] + this.total =0 } }) },