提交 d7644a83 authored 作者: 钟是志's avatar 钟是志

样式修改.

CronEditor 按需加载
上级 c54e1efd
...@@ -27,8 +27,8 @@ import UUID from 'react-native-uuid'; ...@@ -27,8 +27,8 @@ import UUID from 'react-native-uuid';
import QRCode from 'qrcode.react'; import QRCode from 'qrcode.react';
import { Editor } from 'draft-js'; import { Editor } from 'draft-js';
import MyBlockRenderer from '../App/MyBlockRender'; import MyBlockRenderer from '../App/MyBlockRender';
import CronEditor from 'antd-cron-editor'; // import CronEditor from 'antd-cron-editor'; // 2022年3月17日 按需加载这个组件 钟是志
import { Card, Flex, List as MobileList, Switch as MobileSwitch, List } from 'antd-mobile'; import { Flex, List as MobileList, Switch as MobileSwitch, List } from 'antd-mobile';
import ReactEcharts from 'echarts-for-react'; import ReactEcharts from 'echarts-for-react';
import ZdyTable from '../Table/index'; import ZdyTable from '../Table/index';
import { connect } from 'dva'; import { connect } from 'dva';
...@@ -51,7 +51,6 @@ import { extend } from 'umi-request'; ...@@ -51,7 +51,6 @@ import { extend } from 'umi-request';
import Highlighter from 'react-highlight-words'; import Highlighter from 'react-highlight-words';
import Signature from '../Signature'; import Signature from '../Signature';
import { changeToDraftState, deepCopy, preHandle } from '../utils/myutils'; import { changeToDraftState, deepCopy, preHandle } from '../utils/myutils';
import { giveBase16EnCode } from '../Base16/index';
import { getToken } from '../utils/token'; import { getToken } from '../utils/token';
import { formulaList } from '../excelInitFuc/functionList'; import { formulaList } from '../excelInitFuc/functionList';
import FilePreview from '../filePreview'; import FilePreview from '../filePreview';
...@@ -3421,6 +3420,7 @@ export default class tableCom extends Component { ...@@ -3421,6 +3420,7 @@ export default class tableCom extends Component {
} }
break; break;
case 'Cron': case 'Cron':
const CronEditor = require('antd-cron-editor');
cm = getFieldDecorator(dataColumn.base52, { cm = getFieldDecorator(dataColumn.base52, {
initialValue: initValue, initialValue: initValue,
rules: rules:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论