@lingxiteam/ebe-utils 0.4.1 → 0.4.4
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.
|
@@ -120,7 +120,16 @@ class LcdpBaseApi {
|
|
|
120
120
|
/**
|
|
121
121
|
* @name 发送请求
|
|
122
122
|
*/
|
|
123
|
-
this.fetch =
|
|
123
|
+
this.fetch = {
|
|
124
|
+
post: (url: string, data?: any) => {
|
|
125
|
+
return api.commonFetch('post', url, data)
|
|
126
|
+
// return compatHttp.post(url, data, { appId: this.data.appId, ...(appCtx || {})}, options)
|
|
127
|
+
},
|
|
128
|
+
get: (url: string, data?: any) => {
|
|
129
|
+
return api.commonFetch('get', url, data)
|
|
130
|
+
// return compatHttp.get(url, data, { appId: this.data.appId, ...(appCtx || {})}, options)
|
|
131
|
+
}
|
|
132
|
+
}
|
|
124
133
|
|
|
125
134
|
// 重构 屏蔽
|
|
126
135
|
// this.isSupport = browserCompatible(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/types": "^7.12.12",
|
|
20
20
|
"cac": "^6.7.14",
|
|
21
21
|
"fs-extra": "9.x",
|
|
22
|
-
"@lingxiteam/ebe": "0.4.
|
|
22
|
+
"@lingxiteam/ebe": "0.4.4"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|