fix(client): maximum call stack size exceeded (#554)
This commit is contained in:
parent
8744e9c057
commit
e5793cbbcb
packages
@ -36,7 +36,6 @@
|
||||
"react-helmet": "^6.1.0",
|
||||
"react-i18next": "^11.15.1",
|
||||
"react-image-lightbox": "^5.1.4",
|
||||
"react-js-cron": "^1.4.0",
|
||||
"react-quill": "^1.3.5",
|
||||
"react-router-dom": "^5.2.0",
|
||||
"use-deep-compare-effect": "^1.8.1"
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { Schema as SchemaCompiler } from '@formily/json-schema';
|
||||
import { useField, useFieldSchema, useForm } from '@formily/react';
|
||||
import { useFormBlockContext } from '../..';
|
||||
import { message, Modal } from 'antd';
|
||||
import get from 'lodash/get';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useHistory } from 'react-router-dom';
|
||||
import { useFormBlockContext } from '../..';
|
||||
import { useAPIClient } from '../../api-client';
|
||||
import { useCollection } from '../../collection-manager';
|
||||
import { useRecord } from '../../record-provider';
|
||||
@ -50,7 +50,7 @@ const filterValue = (value) => {
|
||||
return value;
|
||||
}
|
||||
if (Array.isArray(value)) {
|
||||
return value.map((v) => filterValue(value));
|
||||
return value.map((v) => filterValue(v));
|
||||
}
|
||||
const obj = {};
|
||||
for (const key in value) {
|
||||
|
@ -16,7 +16,8 @@
|
||||
"@nocobase/server": "0.7.1-alpha.7",
|
||||
"@nocobase/utils": "0.7.1-alpha.7",
|
||||
"cron-parser": "4.4.0",
|
||||
"json-templates": "^4.2.0"
|
||||
"json-templates": "^4.2.0",
|
||||
"react-js-cron": "^1.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nocobase/test": "0.7.1-alpha.7"
|
||||
|
Loading…
Reference in New Issue
Block a user