mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: Interface search optimization
This commit is contained in:
@@ -201,9 +201,16 @@ const search = () => {
|
||||
searchLoading.value = true
|
||||
oldKeywords.value = keywords.value
|
||||
promptApi
|
||||
.getList(pageInfo.currentPage, pageInfo.pageSize, currentType.value, {
|
||||
name: keywords.value,
|
||||
})
|
||||
.getList(
|
||||
pageInfo.currentPage,
|
||||
pageInfo.pageSize,
|
||||
currentType.value,
|
||||
keywords.value
|
||||
? {
|
||||
name: keywords.value,
|
||||
}
|
||||
: {}
|
||||
)
|
||||
.then((res: any) => {
|
||||
toggleRowLoading.value = true
|
||||
fieldList.value = res.data
|
||||
|
||||
Reference in New Issue
Block a user