|
@@ -72,10 +72,10 @@ declare global {
|
|
|
interface TableColumnList extends Array<TableColumns> {}
|
|
|
|
|
|
/**
|
|
|
- * 对应 `public/serverConfig.json` 文件的类型声明
|
|
|
- * @see {@link https://yiming_chang.gitee.io/pure-admin-doc/pages/config/#serverconfig-json}
|
|
|
+ * 对应 `public/platform-config.json` 文件的类型声明
|
|
|
+ * @see {@link https://yiming_chang.gitee.io/pure-admin-doc/pages/config/#platform-config-json}
|
|
|
*/
|
|
|
- interface ServerConfigs {
|
|
|
+ interface PlatformConfigs {
|
|
|
Version?: string;
|
|
|
Title?: string;
|
|
|
FixedHeader?: boolean;
|
|
@@ -108,8 +108,8 @@ declare global {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 与 `ServerConfigs` 类型不同,这里是缓存到浏览器本地存储的类型声明
|
|
|
- * @see {@link https://yiming_chang.gitee.io/pure-admin-doc/pages/config/#serverconfig-json}
|
|
|
+ * 与 `PlatformConfigs` 类型不同,这里是缓存到浏览器本地存储的类型声明
|
|
|
+ * @see {@link https://yiming_chang.gitee.io/pure-admin-doc/pages/config/#platform-config-json}
|
|
|
*/
|
|
|
interface StorageConfigs {
|
|
|
version?: string;
|
|
@@ -171,6 +171,6 @@ declare global {
|
|
|
interface GlobalPropertiesApi {
|
|
|
$echarts: ECharts;
|
|
|
$storage: ResponsiveStorage;
|
|
|
- $config: ServerConfigs;
|
|
|
+ $config: PlatformConfigs;
|
|
|
}
|
|
|
}
|