Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
liuchen864 9 months ago
parent
commit
6273873ad5
  1. 7
      src/components/RouterSearch/index.vue

7
src/components/RouterSearch/index.vue

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

Loading…
Cancel
Save