|
|
@ -245,7 +245,7 @@ export default { |
|
|
|
req.pagelist(this.listQuery).then((response) => { |
|
|
|
console.log('列表查询结果:', response) |
|
|
|
this.listLoading = false |
|
|
|
if (response.success && response.data && response.data.total > 0) { |
|
|
|
if (response.success) { |
|
|
|
this.list = response.data.records |
|
|
|
this.listQuery.total = response.data.total |
|
|
|
} else { |
|
|
@ -275,7 +275,7 @@ export default { |
|
|
|
size: 5, |
|
|
|
total: 0 |
|
|
|
} |
|
|
|
this.getList() |
|
|
|
this.init() |
|
|
|
}, |
|
|
|
handleClick() { |
|
|
|
this.$parent.resetState() |
|
|
|