chore: 优化 Logo 文件位置

This commit is contained in:
2024-04-22 19:16:57 +08:00
parent 3d09037217
commit 0f8d52fddf
3 changed files with 4 additions and 4 deletions

View File

Before

Width:  |  Height:  |  Size: 683 B

After

Width:  |  Height:  |  Size: 683 B

View File

@@ -1,7 +1,7 @@
<template>
<section class="system-logo" :class="{ collapsed: props.collapsed }" @click="toHome">
<img v-if="webLogo" class="logo" :src="webLogo" alt="logo" />
<img v-else class="logo" src="@/assets/images/logo.svg" alt="logo" />
<img v-else class="logo" src="/logo.svg" alt="logo" />
<span class="system-name">{{ webTitle }}</span>
</section>
</template>

View File

@@ -20,7 +20,7 @@
>
<h3 class="login-right__title">
<img v-if="webLogo" class="logo" :src="webLogo" alt="logo" height="33" />
<img v-else class="logo" src="@/assets/images/logo.svg" alt="logo" />
<img v-else class="logo" src="/logo.svg" alt="logo" />
<span>{{ appStore.getTitle() }}</span>
</h3>
<a-form-item field="username">
@@ -160,8 +160,8 @@ const getCaptcha = () => {
// 第三方登录授权
const onOauth = async (source: string) => {
const { data } = await socialAuth(source);
window.location.href = data.authorizeUrl;
const { data } = await socialAuth(source)
window.location.href = data.authorizeUrl
}
onMounted(() => {