perf: delete settings.ts use serverConfig.json

This commit is contained in:
xiaoxian521
2021-10-15 11:38:43 +08:00
parent cafc588e4c
commit e22e19552a
9 changed files with 46 additions and 35 deletions

13
types/global.d.ts vendored
View File

@@ -84,10 +84,21 @@ declare global {
declare interface ServerConfigs {
Version?: string;
Title?: string;
FixedHeader?: boolean;
HiddenSideBar?: boolean;
KeepAlive?: boolean;
Locale?: string;
Layout?: string;
MapConfigure?: any;
MapConfigure?: {
amapKey?: string;
baiduKey?: string;
options: {
resizeEnable?: boolean;
center?: number[];
zoom?: number;
};
};
}
function parseInt(s: string | number, radix?: number): number;