fix(views/client/index.vue): 客户端查询传参错误调整

This commit is contained in:
有来技术
2022-01-01 09:22:41 +08:00
parent c04c9c7ddd
commit 09bc719a61

View File

@@ -157,7 +157,7 @@ const state = reactive({
const {loading, ids, single, multiple, queryParams, pageList, total, dialog, formData, rules} = toRefs(state)
function handleQuery() {
listClientsWithPage(queryParams).then(response => {
listClientsWithPage(state.queryParams).then(response => {
const {data, total} = response as any
state.pageList = data
state.total = total