Merge branch 'develop' into release/1.0.14-beta

This commit is contained in:
liujuping 2022-09-02 10:30:44 +08:00
commit 5146bbedf3
3 changed files with 6 additions and 8 deletions

View File

@ -88,7 +88,11 @@ export default class Filter extends Component<IProps, IState> {
onChange={this.handleOptionChange}
>
{FILTER_OPTIONS.map((op) => (
<Checkbox id={op.value} value={op.value}>
<Checkbox
id={op.value}
value={op.value}
key={op.value}
>
{op.label}
</Checkbox>
))}

View File

@ -24,7 +24,6 @@
"intl-messageformat": "^9.3.1",
"jsonuri": "^2.1.2",
"lodash": "^4.17.11",
"moment": "^2.24.0",
"prop-types": "^15.7.2",
"react-is": "^16.10.1",
"socket.io-client": "^2.2.0",

View File

@ -2,9 +2,6 @@
/* eslint-disable no-new-func */
import logger from './logger';
import { isI18nData, RootSchema, NodeSchema, isJSExpression, JSSlot } from '@alilc/lowcode-types';
// moment对象配置
import _moment from 'moment';
import 'moment/locale/zh-cn';
import { isEmpty } from 'lodash';
import IntlMessageFormat from 'intl-messageformat';
import pkg from '../../package.json';
@ -12,8 +9,6 @@ import * as ReactIs from 'react-is';
import { default as ReactPropTypesSecret } from 'prop-types/lib/ReactPropTypesSecret';
import { default as factoryWithTypeCheckers } from 'prop-types/factoryWithTypeCheckers';
export const moment = _moment;
moment.locale('zh-cn');
(window as any).sdkVersion = pkg.version;
export { pick, isEqualWith as deepEqual, cloneDeep as clone, isEmpty, throttle, debounce } from 'lodash';
@ -372,4 +367,4 @@ export function serializeParams(obj: any) {
}
});
return result.join('&');
}
}