Feat: add user icon

This commit is contained in:
Lazy 2023-11-07 14:10:07 +08:00
parent 10adeab6cd
commit 8821002739
2 changed files with 2 additions and 7 deletions

View File

@ -56,18 +56,13 @@ declare module 'vue' {
ATypographyText: typeof import('ant-design-vue/es')['TypographyText']
ATypographyTitle: typeof import('ant-design-vue/es')['TypographyTitle']
AUpload: typeof import('ant-design-vue/es')['Upload']
'Bds_server.properties': typeof import("./src/components/InstanceConfigEditor/bds_server.properties.vue")["default"]
BetweenMenus: typeof import('./src/components/BetweenMenus.vue')['default']
'Bukkit.yml': typeof import("./src/components/InstanceConfigEditor/bukkit.yml.vue")["default"]
'Bungeecord.config.yml': typeof import("./src/components/InstanceConfigEditor/bungeecord.config.yml.vue")["default"]
CardError: typeof import('./src/components/CardError.vue')['default']
CardOperator: typeof import('./src/components/CardOperator.vue')['default']
CardPanel: typeof import('./src/components/CardPanel.vue')['default']
CopyButton: typeof import('./src/components/CopyButton.vue')['default']
DataStatistic: typeof import('./src/components/DataStatistic.vue')['default']
Default: typeof import("./src/components/default.vue")["default"]
Editor: typeof import('./src/components/Editor.vue')['default']
'Eula.txt': typeof import("./src/components/InstanceConfigEditor/eula.txt.vue")["default"]
FadeUpAnimation: typeof import('./src/components/FadeUpAnimation.vue')['default']
IconBtn: typeof import('./src/components/IconBtn.vue')['default']
InnerCard: typeof import('./src/components/InnerCard.vue')['default']
@ -86,6 +81,5 @@ declare module 'vue' {
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SelectInstances: typeof import('./src/components/SelectInstances.vue')['default']
'Server.properties': typeof import("./src/components/InstanceConfigEditor/server.properties.vue")["default"]
}
}

View File

@ -2,7 +2,7 @@
import { ref, computed, onMounted } from "vue";
import { t } from "@/lang/i18n";
import { message } from "ant-design-vue";
import { DownOutlined } from "@ant-design/icons-vue";
import { DownOutlined, UserOutlined } from "@ant-design/icons-vue";
import { throttle } from "lodash";
import CardPanel from "@/components/CardPanel.vue";
@ -275,6 +275,7 @@ onMounted(async () => {
<BetweenMenus>
<template #left>
<a-typography-title class="mb-0" :level="4">
<UserOutlined />
{{ card.title }}
</a-typography-title>
</template>