提交
This commit is contained in:
5
front-end/app-shared/src/config/HttpConfig.ts
Normal file
5
front-end/app-shared/src/config/HttpConfig.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export class HttpConfig {
|
||||
public static DevBaseUrl: string = "http://127.0.0.1:3000/api"
|
||||
public static prodBaseUrl: string = "http://127.0.0.1:3000/api/"
|
||||
public static apiList: string = ""
|
||||
}
|
||||
4
front-end/app-shared/src/config/ThemeConfig.ts
Normal file
4
front-end/app-shared/src/config/ThemeConfig.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export class ThemeConfig {
|
||||
public static primaryColor: string = '#1890ff'; // 主色调
|
||||
public static layoutType: 'side' | 'top' = 'side'; // 侧边栏布局
|
||||
}
|
||||
2
front-end/app-shared/src/config/index.ts
Normal file
2
front-end/app-shared/src/config/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './HttpConfig';
|
||||
export * from './ThemeConfig';
|
||||
Reference in New Issue
Block a user