优化页面接口的错误提示
This commit is contained in:
@@ -103,9 +103,10 @@ export const JeecgListMixin = {
|
||||
this.dataSource = res.data.rows
|
||||
this.ipagination.total = res.data.total
|
||||
this.tableAddTotalRow(this.columns, this.dataSource)
|
||||
}
|
||||
if(res.code===510){
|
||||
} else if(res.code===510){
|
||||
this.$message.warning(res.data)
|
||||
} else {
|
||||
this.$message.warning(res.data.message)
|
||||
}
|
||||
this.loading = false
|
||||
this.onClearSelected()
|
||||
|
||||
Reference in New Issue
Block a user