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

@@ -1,9 +0,0 @@
<svg width="33" height="33" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 174.8 204">
<path fill="#307AF2" d="M86.7,0l88,51v.2l-16.3,9.4v-.2L86.7,18.9Zm71.8,143.5,16.3,9.4v.2L86.8,204h0l-16.3-9.4,16.3-9.4h0l71.7-41.5v-.2Z"/>
<path fill="#12D2AC" d="M16.3,143.5v.2L58,167.8l-16.3,9.4L0,153.1v-.2Z"/>
<path fill="#12D2AC" d="M104.1,93,15.9,143.8l-.2-.1V124.9l.2.1L87.7,83.6,104.1,93Z"/>
<path fill="#0057FE" d="M88.1,0,.1,51v.2l16.3,9.4v-.2L88.1,18.9Z"/>
<path fill="#307AF2" d="M.1,50.9.2,152.6l.2.1,16.3-9.4-.2-.1-.1-82.9L.1,50.9Z"/>
<path fill="#0057FE" d="M174.7,50.9l-.1,101.7-.2.1-16.3-9.4.2-.1.1-82.9Z"/>
<path fill="#12D2AC" d="M41.7,158.5l16.1,9.4,100.6-58.7V90.4Z"/>
</svg>

Before

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(() => {