import React, { useEffect, useRef, useState } from 'react'; import moment from 'moment'; import { connect } from "react-redux"; import { Select, Modal, Form, Button } from "@douyinfe/semi-ui"; const GatewayEditModal = (props) => { const { dispatch, actions, user, onCancel, dataToModal } = props; const { edition } = actions; //初始化 useEffect(() => { }, []); return ( 关闭]}>
) } function mapStateToProps(state) { const { auth, global } = state; return { user: auth.user, error: auth.error, actions: global.actions, }; } export default connect(mapStateToProps)(GatewayEditModal);