@jetlinks-web/core 1.0.4 → 1.0.5
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/package.json +2 -2
- package/src/request/axios.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "index.ts",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"lodash-es": "^4.17.21",
|
|
17
17
|
"axios": "^1.4.0",
|
|
18
18
|
"rxjs": "^7.8.1",
|
|
19
|
-
"@jetlinks-web/router": "^1.0.5",
|
|
20
19
|
"@jetlinks-web/constants": "^1.0.1",
|
|
21
20
|
"@jetlinks-web/types": "^1.0.1",
|
|
21
|
+
"@jetlinks-web/router": "^1.0.5",
|
|
22
22
|
"@jetlinks-web/utils": "^1.0.4"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
package/src/request/axios.ts
CHANGED
|
@@ -166,11 +166,12 @@ export class Axios {
|
|
|
166
166
|
})
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
remove<T = any>(url: string, params: any = undefined, ext?: any) {
|
|
169
|
+
remove<T = any>(url: string, params: any = undefined, data?: any, ext?: any) {
|
|
170
170
|
return this.axiosInstance<any, AxiosResponseRewrite<T>>({
|
|
171
171
|
method: 'DELETE',
|
|
172
172
|
url,
|
|
173
173
|
params,
|
|
174
|
+
data,
|
|
174
175
|
...ext,
|
|
175
176
|
})
|
|
176
177
|
}
|