Files
aiot-platform-ui/apps/web-antd/src/preferences.ts

36 lines
1003 B
TypeScript
Raw Normal View History

import { defineOverridesPreferences } from '@vben/preferences';
2024-06-01 23:15:29 +08:00
/**
* @description
* 使
* !!!
2024-06-01 23:15:29 +08:00
*/
export const overridesPreferences = defineOverridesPreferences({
// overrides
app: {
/** 后端路由模式 */
accessMode: 'backend',
name: import.meta.env.VITE_APP_TITLE,
enableRefreshToken: true,
},
footer: {
/** 默认关闭 footer 页脚,因为有一定遮挡 */
enable: false,
fixed: false,
},
copyright: {
companyName: import.meta.env.VITE_APP_TITLE,
2025-12-18 17:19:40 +08:00
companySiteLink: 'https://www.vs-cushwake.com/',
},
2025-12-23 10:35:09 +08:00
logo: {
/** Logo 图片地址 */
source: '/logo.svg',
/** Logo 图片适应方式 */
fit: 'contain',
},
theme: {
/** 主题模式:'light' 为浅色模式,'dark' 为深色模式,'auto' 为跟随系统 */
mode: 'light',
},
});