Pre Merge pull request !629 from AhJindeg/fix/router-serch

pull/629/MERGE
AhJindeg 2025-01-04 00:24:29 +00:00 committed by Gitee
commit c7d390326d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 0 deletions

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
}