refactor: 顶部导航栏设置项优化

Former-commit-id: 29a3025d9436a7dbc3a95b836c179b3dd8756ceb
This commit is contained in:
haoxr
2023-02-06 01:08:11 +08:00
parent 7d26f4adbc
commit 704775c7d1
3 changed files with 4 additions and 14 deletions

View File

@@ -17,9 +17,7 @@ function handleSizeChange(size: string) {
<template>
<el-dropdown trigger="click" @command="handleSizeChange">
<div
class="cursor-pointer h-[50px] leading-[50px] text-center text-[#5a5e66] px-2.5 hover:bg-gray-50 dark:hover:bg-[var(--el-fill-color-light)]"
>
<div>
<svg-icon icon-class="size" />
</div>
<template #dropdown>