Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
26 lines
763 B
TypeScript
26 lines
763 B
TypeScript
import { defineOverridesPreferences } from '@vben/preferences';
|
|
|
|
/**
|
|
* @description 项目配置文件
|
|
* 只需要覆盖项目中的一部分配置,不需要的配置不用覆盖,会自动使用默认配置
|
|
* !!! 更改配置后请清空缓存,否则可能不生效
|
|
*/
|
|
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,
|
|
companySiteLink: 'https://gitee.com/yudaocode/yudao-ui-admin-vben',
|
|
},
|
|
});
|