refactor: icon优化

Former-commit-id: efc04bf33433c06d7dea1f84c41ef83b06ff16f1
This commit is contained in:
haoxr
2023-01-15 12:55:13 +08:00
parent 3c38628218
commit af4fd8cb6a
12 changed files with 34 additions and 34 deletions

View File

@@ -23,8 +23,10 @@ function handleLanguageChange(lang: string) {
trigger="click"
@command="handleLanguageChange"
>
<div class="cursor-pointer w-[40px] h-[50px] leading-[50px] text-center">
<svg-icon icon-name="language" />
<div
class="cursor-pointer h-[50px] leading-[50px] text-center px-2.5 hover:bg-gray-50"
>
<svg-icon icon-class="language" />
</div>
<template #dropdown>
<el-dropdown-menu>