refactor: ♻️ 删除不使用的 svg 和部分svg重命名

Former-commit-id: 85e20e78e50fe74b4a29f878e7df222d1f3e6008
This commit is contained in:
hxr
2023-10-22 00:09:51 +08:00
parent 3e3ce7c69c
commit 9b7ac6de29
27 changed files with 4 additions and 57 deletions

View File

@@ -57,22 +57,15 @@ defineOptions({
inheritAttrs: false,
});
const svg_icons: string[] = [
"advert",
"api",
"brand",
"bug",
"cascader",
"chart",
"client",
"close",
"close_all",
"close_left",
"close_other",
"close_right",
"coupon",
"dashboard",
"dict",
"dict_item",
"document",
"download",
"drag",
@@ -82,40 +75,27 @@ const svg_icons: string[] = [
"eye",
"fullscreen",
"github",
"goods-list",
"goods",
"guide",
"homepage",
"lab",
"language",
"link",
"menu",
"message",
"money",
"monitor",
"multi_level",
"nested",
"number",
"order",
"password",
"peoples",
"perm",
"publish",
"rabbitmq",
"rate",
"redis",
"refresh",
"role",
"security",
"shopping",
"size",
"skill",
"system",
"theme",
"tree",
"user",
"uv",
"verify_code",
"verify-code",
];
const icons = ref(ElementPlusIconsVue);

View File

@@ -58,7 +58,7 @@
<!-- 验证码 -->
<el-form-item prop="verifyCode">
<span class="p-2 text-white">
<svg-icon icon-class="verify_code" />
<svg-icon icon-class="verify-code" />
</span>
<el-input
v-model="loginData.verifyCode"