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

Modal文件修改

上级 257c02ae
import React, { Fragment } from 'react';
import { Button, Modal, Steps, Upload, Icon, message, Spin, Tabs, Table } from 'antd';
import { Button, Steps, Upload, Icon, Tabs, Table } from 'antd';
import styles from './ImportUtil.less';
import ButtonDiy from './ButtonDiy/ButtonDiy';
import { getToken } from '../utils/token';
import FormdataWrapper from '../utils/object-to-formdata-custom';
import config from '@/webPublic/one_stop_public/config';
import { connect } from 'dva';
import { getMessage, getModal } from '@/webPublic/one_stop_public/utils/utils';
const Modal = getModal();
const message = getMessage();
const Step = Steps.Step;
const TabPane = Tabs.TabPane;
......
import React, {useEffect, useState, useRef, memo} from 'react';
import {isJSON} from '@/webPublic/one_stop_public/copy';
import {uaaRequest} from '@/webPublic/one_stop_public/utils/request';
import {Modal, message, Spin} from 'antd';
import { Spin } from 'antd';
import {deepCopy} from "@/webPublic/one_stop_public/utils/myutils";
import { getMessage, getModal } from '@/webPublic/one_stop_public/utils/utils';
const Modal = getModal();
const message = getMessage();
export default function prepareShow(postData = {} , content = '') { // 模板挂载前执行的公式
let agg = deepCopy(postData);
......
......@@ -3,12 +3,14 @@
* 2019年12月11日
*/
import React, { Component } from 'react';
import { Button, Modal, Row, Col, Select } from 'antd';
import { Button, Row, Col, Select } from 'antd';
import funcList from './functionList';
import AceEditor from 'react-ace';
import styles from './style.less';
import Throttle from 'lodash-decorators/throttle';
import { getModal } from '@/webPublic/one_stop_public/utils/utils';
const { Option } = Select;
const Modal = getModal();
export default class index extends Component {
state = {
visible: false, // 模态框状态
......
import React, { Children } from 'react';
import { Button, Form, Input, InputNumber, Modal, Select } from 'antd';
import React, { } from 'react';
import { getModal } from '@/webPublic/one_stop_public/utils/utils';
const Modal = getModal();
export default class FormModal extends React.Component {
render() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论