feat: 应用名和logo修改
This commit is contained in:
BIN
apps/web-antd/public/agt.png
Normal file
BIN
apps/web-antd/public/agt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 605 B |
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 605 B |
BIN
apps/web-antd/public/favicon4.ico
Normal file
BIN
apps/web-antd/public/favicon4.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -4,18 +4,12 @@ import { computed } from 'vue';
|
||||
import { AuthPageLayout } from '@vben/layouts';
|
||||
import { preferences } from '@vben/preferences';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const appName = computed(() => preferences.app.name);
|
||||
const logo = computed(() => preferences.logo.source);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AuthPageLayout
|
||||
:app-name="appName"
|
||||
:logo="logo"
|
||||
:page-title="$t('authentication.pageTitle')"
|
||||
>
|
||||
<AuthPageLayout :app-name="appName" :logo="logo">
|
||||
<!-- 自定义工具栏 -->
|
||||
<!-- <template #toolbar></template> -->
|
||||
</AuthPageLayout>
|
||||
|
||||
@@ -13,6 +13,10 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
name: import.meta.env.VITE_APP_TITLE,
|
||||
enableRefreshToken: true,
|
||||
},
|
||||
logo: {
|
||||
// source: 'https://www.agrandtech.com.cn/favicon.ico',
|
||||
source: '/agt.png',
|
||||
},
|
||||
footer: {
|
||||
/** 默认关闭 footer 页脚,因为有一定遮挡 */
|
||||
enable: false,
|
||||
|
||||
@@ -103,5 +103,5 @@
|
||||
</style>
|
||||
<div class="loading" id="__app-loading__">
|
||||
<span class="dot"><i></i><i></i><i></i><i></i></span>
|
||||
<div class="title"><%= VITE_APP_TITLE %></div>
|
||||
<!-- <div class="title"><%= VITE_APP_TITLE %></div> -->
|
||||
</div>
|
||||
|
||||
@@ -109,5 +109,5 @@
|
||||
</style>
|
||||
<div class="loading" id="__app-loading__">
|
||||
<div class="loader"></div>
|
||||
<div class="title"><%= VITE_APP_TITLE %></div>
|
||||
<!-- <div class="title"><%= VITE_APP_TITLE %></div> -->
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user