mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 03:05:07 +08:00
feat: upgrade request
This commit is contained in:
parent
736807d9e8
commit
17a7e0116e
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-request",
|
"name": "@fesjs/plugin-request",
|
||||||
"version": "4.0.0-rc.5",
|
"version": "4.0.0-rc.6",
|
||||||
"description": "@fesjs/plugin-request",
|
"description": "@fesjs/plugin-request",
|
||||||
"author": "qlin",
|
"author": "qlin",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -33,7 +33,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/utils": "^3.0.3",
|
"@fesjs/utils": "^3.0.3",
|
||||||
"@qlin/request": "^0.2.3"
|
"@qlin/request": "^0.3.0"
|
||||||
},
|
},
|
||||||
"typings": "./types.d.ts"
|
"typings": "./types.d.ts"
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { ApplyPluginsType, plugin } from '@fesjs/fes';
|
import { ApplyPluginsType, plugin } from '@fesjs/fes';
|
||||||
import { ref, shallowRef } from 'vue';
|
|
||||||
|
|
||||||
import { createRequest } from '@qlin/request';
|
import { createRequest } from '@qlin/request';
|
||||||
|
|
||||||
|
import { ref, shallowRef } from 'vue';
|
||||||
|
|
||||||
function getRequestInstance() {
|
function getRequestInstance() {
|
||||||
const defaultConfig = plugin.applyPlugins({
|
const defaultConfig = plugin.applyPlugins({
|
||||||
key: 'request',
|
key: 'request',
|
||||||
|
9
pnpm-lock.yaml
generated
9
pnpm-lock.yaml
generated
@ -650,8 +650,8 @@ importers:
|
|||||||
specifier: ^3.0.3
|
specifier: ^3.0.3
|
||||||
version: link:../fes-utils
|
version: link:../fes-utils
|
||||||
'@qlin/request':
|
'@qlin/request':
|
||||||
specifier: ^0.2.3
|
specifier: ^0.3.0
|
||||||
version: 0.2.3
|
version: 0.3.0
|
||||||
vue:
|
vue:
|
||||||
specifier: ^3.2.37
|
specifier: ^3.2.37
|
||||||
version: 3.3.4
|
version: 3.3.4
|
||||||
@ -4777,10 +4777,9 @@ packages:
|
|||||||
resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==}
|
resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@qlin/request@0.2.3:
|
/@qlin/request@0.3.0:
|
||||||
resolution: {integrity: sha512-haKCRgZZWF9cZF7btRNfZQlDtJQ0uVqjwp51mqT+073V7JbL2DpUmVsRODtb3nnw9uVAHOqS9rmq+ZigwftgGg==}
|
resolution: {integrity: sha512-/1bvNA1BPjxXrFONbBvq+e/+uJKgvKjZs9YhQ97NABAXGNOaqMXsRS6MEfDIRZok4lbkHRquCXON2Lht3CkD6A==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/lodash-es': 4.17.12
|
|
||||||
lodash-es: 4.17.21
|
lodash-es: 4.17.21
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user