Commit 48e7e7e5 by 芋道源码 Committed by Gitee

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

Merge pull request !629 from AhJindeg/fix/router-serch
parents 39486d66 d815c603
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment