优化管理后台
This commit is contained in:
@@ -186,14 +186,12 @@ async function saveData() {
|
||||
const selectLoading = ref(false)
|
||||
async function remoteMethod(query) {
|
||||
selectLoading.value = true
|
||||
const res = await capi.getUserList({
|
||||
name:query,
|
||||
page:1,
|
||||
pageSize:100
|
||||
const res = await capi.searchUserList({
|
||||
key:query
|
||||
})
|
||||
selectLoading.value = false
|
||||
if(res.code === 0) {
|
||||
user_list.value = res.data.records
|
||||
user_list.value = res.data
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user