JiShe.IOT.UI/apps/web-antd/src/preferences.ts

37 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

2025-05-27 22:57:35 +08:00
/*
* @Description:
* @Author:
* @Date: 2025-03-18 21:08:17
* @LastEditors:
*/
2025-05-27 19:31:37 +08:00
import { defineOverridesPreferences } from '@vben/preferences';
/**
* @description
* 使
* !!!
*/
export const overridesPreferences = defineOverridesPreferences({
// overrides
app: {
name: import.meta.env.VITE_APP_TITLE,
2025-05-27 22:57:35 +08:00
// 默认值frontend|backend 默认值frontend可不填写
accessMode: 'backend',
2025-05-27 19:31:37 +08:00
// 是否开启检查更新
enableCheckUpdates: false,
// 检查更新的时间间隔,单位为分钟
checkUpdatesInterval: 1,
// accessMode: 'backend', // 默认值frontend|backend 默认值frontend可不填写
defaultAvatar: '/public/avatar-v1.webp', // 默认头像
},
theme: {
mode: 'light',
},
copyright: {
2025-07-25 11:55:18 +08:00
companyName: '集社云信息科技有限公司',
2025-05-27 19:31:37 +08:00
},
logo: {
source: '/logo-v1.webp', // 网站图标
},
});