Ver Fonte

[Doc 0000] 类型声明更新

houzekong há 3 dias atrás
pai
commit
dad04ad50b
2 ficheiros alterados com 10 adições e 0 exclusões
  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;