1
0
mirror of https://github.com/WeBankFinTech/fes.js.git synced 2025-04-06 03:59:53 +08:00
This commit is contained in:
harrywan 2021-05-07 17:32:26 +08:00
commit b988a38223
2 changed files with 2 additions and 2 deletions
packages/fes-core

@ -1,6 +1,6 @@
{
"name": "@webank/fes-core",
"version": "0.4.6",
"version": "0.4.7",
"description": "一个好用的前端管理台快速开发框架",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"

@ -143,7 +143,7 @@ const success = function (response) {
throw error;
}
// eslint-disable-next-line no-undefined
return (result === undefined || result === null) || {};
return (result === undefined || result === null) ? {} : result;
};
const fail = function (error) {