@pusdn/pgz-comp-elep 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -19,11 +19,12 @@ export declare const getLanguage: () => string;
19
19
  */
20
20
  export declare const globalHeaders: () => {
21
21
  Authorization: string;
22
- clientid: any;
22
+ clientid: string;
23
23
  };
24
24
  export declare function setupHttp(options: {
25
25
  baseURL?: string;
26
26
  timeout?: number;
27
+ clientId?: string;
27
28
  }): void;
28
29
  declare let service: any;
29
30
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pusdn/pgz-comp-elep",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "PGZ组件库,Vue3 中基于Element-plus二次封装基础组件文档",
5
5
  "author": "JaneYork",
6
6
  "license": "PGZ-LIC",
@@ -159,3 +159,12 @@ declare const __APP_INFO__: {
159
159
  declare interface TypeMap {
160
160
  [key: string]: { type: string; val: string }
161
161
  }
162
+
163
+ // 声明HTTP配置全局接口
164
+ declare interface Window {
165
+ pgzHttpConfig?: {
166
+ clientId?: string;
167
+ baseURL?: string;
168
+ timeout?: number;
169
+ }
170
+ }