[update] 修改bug
This commit is contained in:
@@ -156,7 +156,11 @@ export default {
|
||||
allocationStandardList(query).then((res) => {
|
||||
if (res.success) {
|
||||
this.dataList = res.result.records
|
||||
this.ipagination.total = res.result.total
|
||||
if (res.result.total) {
|
||||
this.ipagination.total = res.result.total
|
||||
} else {
|
||||
this.ipagination.total = 0
|
||||
}
|
||||
} else {
|
||||
this.dataList = []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user