兰宝车间质量管理系统-前端
QianRj
2025-02-06 fb7bca27eb17aedf33fe5a1e9be63eb43ec299eb
src/settings.ts
@@ -1,55 +1,62 @@
import { LanguageEnum } from '@/enums/LanguageEnum';
const setting: DefaultSettings = {
   /**
    * 网页标题
    */
   title: import.meta.env.VITE_APP_TITLE,
  /**
   * 网页标题
   */
  title: import.meta.env.VITE_APP_TITLE,
   theme: '#409EFF',
  theme: '#409EFF',
   /**
    * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
    */
   sideTheme: 'theme-dark',
   /**
    * 是否系统布局配置
    */
   showSettings: false,
  /**
   * 侧边栏主题 深色主题theme-dark,浅色主题theme-light
   */
  sideTheme: 'theme-dark',
  /**
   * 是否系统布局配置
   */
  showSettings: true,
   /**
    * 是否显示顶部导航
    */
   topNav: false,
  /**
   * 是否显示顶部导航
   */
  topNav: false,
   /**
    * 是否显示 tagsView
    */
   tagsView: true,
  /**
   * 是否显示 tagsView
   */
  tagsView: true,
   /**
    * 是否固定头部
    */
   fixedHeader: false,
  /**
   * 是否固定头部
   */
  fixedHeader: false,
   /**
    * 是否显示logo
    */
   sidebarLogo: true,
  /**
   * 是否显示logo
   */
  sidebarLogo: true,
   /**
    * 是否显示动态标题
    */
   dynamicTitle: false,
  /**
   * 是否显示动态标题
   */
  dynamicTitle: false,
   /**
    * @type {string | array} 'production' | ['production', 'development']
    * @description Need show err logs component.
    * The default is only used in the production env
    * If you want to also use it in dev, you can pass ['production', 'development']
    */
   errorLog: 'production',
  /**
   * @type {string | array} 'production' | ['production', 'development']
   * @description Need show err logs component.
   * The default is only used in the production env
   * If you want to also use it in dev, you can pass ['production', 'development']
   */
  errorLog: 'production',
   animationEnable: false,
  animationEnable: false,
   dark: false
  dark: false,
  language: LanguageEnum.zh_CN,
  size: 'default',
  layout: ''
};
export default setting;