优化页面接口的错误提示

This commit is contained in:
jishenghua
2024-12-11 21:41:35 +08:00
parent 8e04b3ecdd
commit 74d6785647
12 changed files with 36 additions and 24 deletions

View File

@@ -252,9 +252,10 @@
this.ipagination.total = res.data.total;
this.tableAddTotalRow(this.columns, this.dataSource)
this.realityPriceTotal = res.data.realityPriceTotal
}
if(res.code===510){
} else if(res.code===510){
this.$message.warning(res.data)
} else {
this.$message.warning(res.data.message)
}
this.loading = false;
})