update searchMenu style

This commit is contained in:
LiuHao
2023-04-19 23:25:34 +08:00
parent 771f49354a
commit b263918426
4 changed files with 178 additions and 7 deletions

View File

@ -17,7 +17,7 @@
</div>
</template>
<script setup lang="ts">
<script setup lang="ts" name="HeaderSearch">
import Fuse from 'fuse.js'
import { getNormalPath } from '@/utils/ruoyi'
import { isHttp } from '@/utils/validate'
@ -123,9 +123,9 @@ onMounted(() => {
searchPool.value = generateRoutes(routes.value);
})
watchEffect(() => {
searchPool.value = generateRoutes(routes.value)
})
// watchEffect(() => {
// searchPool.value = generateRoutes(routes.value)
// })
watch(show, (value) => {
if (value) {