|
@@ -150,7 +150,7 @@ const handleSelect = (menu: any) => {
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="flex items-center">
|
|
|
- <el-button link @click="searchVisible = true">
|
|
|
+ <el-button link @click="searchVisible = true" v-if="config.showMenuSearch">
|
|
|
<el-icon :size="iconSize" :fill="headerStyle.color">
|
|
|
<Search />
|
|
|
</el-icon>
|
|
@@ -214,7 +214,7 @@ const handleSelect = (menu: any) => {
|
|
|
<GlobalSetting v-model="settingVisible"></GlobalSetting>
|
|
|
<GlobalNews v-model="newsVisible"></GlobalNews>
|
|
|
|
|
|
- <el-dialog v-model="searchVisible" width="600px">
|
|
|
+ <el-dialog title="菜单搜索" v-model="searchVisible" width="600px" class="menu-dialog" v-if="config.showMenuSearch">
|
|
|
<el-autocomplete
|
|
|
class="w-full"
|
|
|
v-model="searchValue"
|
|
@@ -261,4 +261,7 @@ const handleSelect = (menu: any) => {
|
|
|
align-items: center;
|
|
|
outline: none;
|
|
|
}
|
|
|
+:deep(.el-dialog__body) {
|
|
|
+ height: 350px;
|
|
|
+}
|
|
|
</style>
|