@pusdn/pgz-comp-elep 0.2.4 → 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.
- package/lib/index.d.ts +6 -1
- package/lib/pgz-comp-elep.es.js +2702 -2684
- package/lib/pgz-comp-elep.es.js.gz +0 -0
- package/lib/pgz-comp-elep.umd.js +69 -69
- package/lib/pgz-comp-elep.umd.js.gz +0 -0
- package/lib/utils/http/index.d.ts +7 -2
- package/package.json +1 -1
- package/typings/index.d.ts +9 -0
|
Binary file
|
|
@@ -19,9 +19,14 @@ export declare const getLanguage: () => string;
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const globalHeaders: () => {
|
|
21
21
|
Authorization: string;
|
|
22
|
-
clientid:
|
|
22
|
+
clientid: string;
|
|
23
23
|
};
|
|
24
|
-
declare
|
|
24
|
+
export declare function setupHttp(options: {
|
|
25
|
+
baseURL?: string;
|
|
26
|
+
timeout?: number;
|
|
27
|
+
clientId?: string;
|
|
28
|
+
}): void;
|
|
29
|
+
declare let service: any;
|
|
25
30
|
/**
|
|
26
31
|
* POST请求方法
|
|
27
32
|
* @param url 请求地址
|
package/package.json
CHANGED
package/typings/index.d.ts
CHANGED
|
@@ -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
|
+
}
|