Merge branch 'feature/06'

This commit is contained in:
taoran
2024-08-21 18:09:02 +08:00
+1 -2
View File
@@ -40,11 +40,10 @@ const searchParam = reactive({
//搜索工具
const searchTools = async (query: string) => {
loading.value = true
options.value = []
if (query) {
searchParam.title = query
options.value = await toolsStore.getTools(searchParam)
} else {
options.value = []
}
loading.value = false
}