Browse Source

菜单查询

master_hella_20240701
陈薪名 9 months ago
parent
commit
5c609a2c6b
  1. 7
      src/components/RouterSearch/index.vue

7
src/components/RouterSearch/index.vue

@ -1,6 +1,6 @@
<template>
<ElDialog v-if="isModal" v-model="showSearch" :show-close="false" title="菜单搜索">
<el-select
<!-- <el-select
filterable
:reserve-keyword="false"
remote
@ -15,7 +15,7 @@
:label="item.label"
:value="item.value"
/>
</el-select>
</el-select> -->
</ElDialog>
<div v-else class="custom-hover" @click.stop="showTopSearch = !showTopSearch">
<Icon icon="ep:search" />
@ -123,8 +123,11 @@ const remoteMethod = (data) => {
}
const handleChange = (path) => {
console.log(126,path)
router.push({ path })
console.log(128,11111)
hiddenTopSearch();
console.log(130,222222)
}
const hiddenTopSearch = () => {

Loading…
Cancel
Save