2023-3-14

This commit is contained in:
2023-03-14 15:19:23 +08:00
parent 4a8a92f8c5
commit 10814d223b

View File

@@ -675,13 +675,18 @@
}, },
getList() { getList() {
this.listLoading = true this.listLoading = true
fetchList(this.listQuery).then(response => {
this.listLoading = false if (this.listQuery.nickname == "")
this.list = response.data.records this.listQuery.nickname: null,
this.total = response.data.total
this.totalPage = response.data.pages
this.pageSize = response.data.size fetchList(this.listQuery).then(response => {
}) this.listLoading = false
this.list = response.data.records
this.total = response.data.total
this.totalPage = response.data.pages
this.pageSize = response.data.size
})
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val this.multipleSelection = val