瀏覽代碼

[Doc 0000] 类型声明更新

houzekong 3 天之前
父節點
當前提交
dad04ad50b
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 1 0
      types/config.d.ts
  2. 9 0
      types/global.d.ts

+ 1 - 0
types/config.d.ts

@@ -160,6 +160,7 @@ export interface GlobConfig {
   sysOrgCode: string;
   sysDataType: string;
   // isSimulate: boolean
+  is2DModel: boolean;
 }
 export interface GlobEnvConfig {
   // Site title

+ 9 - 0
types/global.d.ts

@@ -10,8 +10,17 @@ declare global {
     safetyCrlPlatformUrl: string;
     gasControlMock: boolean;
     historyIsMultiple: boolean;
+    is2DModel: boolean;
   };
 
+  interface GlobalConfig {
+    simulatedPassword: string;
+    History_Type: string;
+    pageType: string;
+    showReport: boolean;
+    is2DModel: boolean;
+  }
+
   const __APP_INFO__: {
     pkg: {
       name: string;