!629 feat: add hiddenSearch function to manage search visibility in RouterSearch component

Merge pull request !629 from AhJindeg/fix/router-serch
This commit is contained in:
芋道源码
2025-01-04 01:32:33 +00:00
committed by Gitee

View File

@ -79,9 +79,14 @@ function remoteMethod(data) {
function handleChange(path) {
router.push({ path })
hiddenSearch()
hiddenTopSearch()
}
function hiddenSearch() {
showSearch.value = false
}
function hiddenTopSearch() {
showTopSearch.value = false
}