!750 修复头部主题深色模式下,顶部工具栏的搜索、消息没有传主题色

Merge pull request !750 from 熊猫大侠/master
This commit is contained in:
芋道源码
2025-08-16 12:34:02 +00:00
committed by Gitee
3 changed files with 11 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
</el-select>
</ElDialog>
<div v-else class="custom-hover" @click.stop="showTopSearch = !showTopSearch">
<Icon icon="ep:search" />
<Icon icon="ep:search" :color="color"/>
<el-select
@click.stop
filterable
@@ -41,11 +41,13 @@
</template>
<script lang="ts" setup>
import { propTypes } from '@/utils/propTypes'
defineProps({
isModal: {
type: Boolean,
default: true
}
},
color: propTypes.string.def('')
})
const router = useRouter() // 路由对象