Revert "输入内容为空也能跳转"

This reverts commit 9f2dcaa4f4.
This commit is contained in:
2023-07-21 15:50:58 +08:00
parent 9f2dcaa4f4
commit 326dc16acc
3 changed files with 5 additions and 4 deletions

View File

@@ -182,7 +182,7 @@ onMounted(() => {
gutter: 20
});
routeQuery.data = route.currentRoute.value.query
if(routeQuery.data.keyword&&routeQuery.data.keyword.replace(/\s/g, "")){
if(routeQuery.data.keyword){
inputModuleInfo.value.searchInit(routeQuery.data.keyword)//调用搜索组件的搜索功能
route.currentRoute.value.query.keyword=''
}else{