zhengyiming
1 天以前 97334831995a7a442af237dd44eaf3fc7edc120b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { defineConfig } from '@bole-core/core';
 
export default defineConfig({
  /**
   * @description 网页title
   */
  title: '灵工平台',
 
  errorLog: 'production',
 
  loginFormTitle: '灵工平台后台管理系统',
});
 
type AppType = 'one' | 'tsg' | 'taoshangong';
 
const AppSettingMap = {
  one: {
    title: '灵工平台',
    loginFormTitle: '灵工平台',
    MenuTitle: '灵工平台',
  },
  tsg: {
    title: '灵工平台',
    loginFormTitle: '灵工平台',
    MenuTitle: '灵工平台',
  },
  taoshangong: {
    title: '灵工平台',
    loginFormTitle: '灵工平台',
    MenuTitle: '灵工平台',
  },
};
 
export function getAppSetting(appType: AppType) {
  return AppSettingMap[appType];
}