mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 10:57:10 +08:00 
			
		
		
		
	chore: 优化 Logo 文件位置
This commit is contained in:
		| Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 683 B | 
| @@ -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> | ||||
|   | ||||
| @@ -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(() => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user