diff --git a/src/assets/defaultWeChatAvatar.gif b/src/assets/avatar/defaultWeChatAvatar.gif similarity index 100% rename from src/assets/defaultWeChatAvatar.gif rename to src/assets/avatar/defaultWeChatAvatar.gif diff --git a/src/assets/fonts/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf b/src/assets/fonts/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf deleted file mode 100644 index b69b510..0000000 Binary files a/src/assets/fonts/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf and /dev/null differ diff --git a/src/assets/fonts/gthbwc.ttf b/src/assets/fonts/gthbwc.ttf deleted file mode 100644 index 82a7805..0000000 Binary files a/src/assets/fonts/gthbwc.ttf and /dev/null differ diff --git a/src/assets/fonts/index.scss b/src/assets/fonts/index.scss index 29451f5..a57f895 100644 --- a/src/assets/fonts/index.scss +++ b/src/assets/fonts/index.scss @@ -2,13 +2,13 @@ font-family: "阿里巴巴普惠体"; font-style: normal; font-weight: 300; - src: url("./Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf"); + src: url("https://minio.ltd/fonts/Alibaba_PuHuiTi_2.0_55_Regular_55_Regular.ttf"); } @font-face { font-family: "哥特黑白无常"; font-style: normal; font-weight: 300; - src: url("./gthbwc.ttf"); + src: url("https://minio.ltd/fonts/gthbwc.ttf"); } diff --git a/src/assets/user.jpg b/src/assets/user.jpg deleted file mode 100644 index a2973ac..0000000 Binary files a/src/assets/user.jpg and /dev/null differ diff --git a/src/layout/hooks/useNav.ts b/src/layout/hooks/useNav.ts index 8de2bf9..e5ef01c 100644 --- a/src/layout/hooks/useNav.ts +++ b/src/layout/hooks/useNav.ts @@ -2,7 +2,7 @@ import { storeToRefs } from "pinia"; import { getConfig } from "@/config"; import { emitter } from "@/utils/mitt"; import { routeMetaType } from "../types"; -import userAvatar from "@/assets/user.jpg"; +import userAvatar from "@/assets/avatar/defaultWeChatAvatar.gif"; import { getTopMenu } from "@/router/utils"; import { useGlobal } from "@pureadmin/utils"; import { useRouter, useRoute } from "vue-router"; diff --git a/src/views/infra/robot/index.vue b/src/views/infra/robot/index.vue index 7a05697..0484544 100644 --- a/src/views/infra/robot/index.vue +++ b/src/views/infra/robot/index.vue @@ -2,7 +2,7 @@ import { onMounted, reactive, ref } from "vue"; import { getAllRobot, RobotInfo, saveRobot, deleteRobot } from "@/api/robot"; import { message } from "@/utils/message"; -import defaultWeChatAvatar from "@/assets/defaultWeChatAvatar.gif"; +import defaultWeChatAvatar from "@/assets/avatar/defaultWeChatAvatar.gif"; defineOptions({ name: "RobotList"