wupengfei
2025-04-02 bfd98af7a05cad9924e794b274ded26d37186ee8
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { defineConfig } from '@bole-core/core';
 
export default defineConfig({
  /**
   * @description 网页title
   */
  title: '乐遇保云服务',
 
  errorLog: 'production',
 
  loginFormTitle: '乐遇保云服务',
});
 
type AppType = 'one' | 'rz' | 'jx' | 'jy' | 'other' | 'backup';
 
const AppSettingMap = {
  one: {
    title: '乐遇保云服务',
    loginFormTitle: '乐遇保云服务',
    MenuTitle: '乐遇保云服务',
  },
  rz: {
    title: '聚千保理赔管理工具',
    loginFormTitle: '聚千保理赔管理工具',
    MenuTitle: '聚千保理赔',
  },
  jx: {
    title: '江佑共保',
    loginFormTitle: '江佑共保',
    MenuTitle: '江佑共保',
  },
  jy: {
    title: '江佑省保',
    loginFormTitle: '江佑省保',
    MenuTitle: '江佑省保',
  },
  other: {
    title: '江佑保',
    loginFormTitle: '江佑保',
    MenuTitle: '江佑保',
  },
  backup: {
    title: '江佑保备用',
    loginFormTitle: '江佑保备用',
    MenuTitle: '江佑保备用',
  },
};
 
export function getAppSetting(appType: AppType) {
  return AppSettingMap[appType];
}