mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
Merge branch 'vue3' of https://github.com/WeBankFinTech/fes.js into vue3
This commit is contained in:
commit
82add74b66
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0-rc.5",
|
"version": "2.0.0-rc.6",
|
||||||
"changelog": {
|
"changelog": {
|
||||||
"repo": "WeBankFinTech/fes.js",
|
"repo": "WeBankFinTech/fes.js",
|
||||||
"cacheDir": ".changelog",
|
"cacheDir": ".changelog",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/plugin-request",
|
"name": "@fesjs/plugin-request",
|
||||||
"version": "2.0.0-rc.5",
|
"version": "2.0.0-rc.6",
|
||||||
"description": "@fesjs/plugin-request",
|
"description": "@fesjs/plugin-request",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { isFunction, isObject, isString } from './helpers';
|
import { isFunction, isObject, isString } from './helpers';
|
||||||
|
|
||||||
export default async ({ response, responseDataAdaptor }, next) => {
|
export default async ({ response, responseDataAdaptor }, next) => {
|
||||||
if (isFunction(responseDataAdaptor) && (isObject(response.data) || isString(response.data))) {
|
if (isFunction(responseDataAdaptor) && response && (isObject(response.data) || isString(response.data))) {
|
||||||
response.data = responseDataAdaptor(response.data);
|
response.data = responseDataAdaptor(response.data);
|
||||||
}
|
}
|
||||||
await next();
|
await next();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/preset-built-in",
|
"name": "@fesjs/preset-built-in",
|
||||||
"version": "2.0.0-rc.5",
|
"version": "2.0.0-rc.6",
|
||||||
"description": "@fesjs/preset-built-in",
|
"description": "@fesjs/preset-built-in",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fesjs/fes",
|
"name": "@fesjs/fes",
|
||||||
"version": "2.0.0-rc.5",
|
"version": "2.0.0-rc.6",
|
||||||
"description": "一个好用的前端管理台快速开发框架",
|
"description": "一个好用的前端管理台快速开发框架",
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -40,7 +40,7 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fesjs/compiler": "^2.0.0-rc.5",
|
"@fesjs/compiler": "^2.0.0-rc.5",
|
||||||
"@fesjs/preset-built-in": "^2.0.0-rc.5",
|
"@fesjs/preset-built-in": "^2.0.0-rc.6",
|
||||||
"@fesjs/runtime": "^2.0.0-rc.5",
|
"@fesjs/runtime": "^2.0.0-rc.5",
|
||||||
"@umijs/utils": "3.3.3",
|
"@umijs/utils": "3.3.3",
|
||||||
"resolve-cwd": "^3.0.0"
|
"resolve-cwd": "^3.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user