You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
856 B
33 lines
856 B
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 (
|
|
<Modal title={dataToModal.name}
|
|
visible={true} destroyOnClose onCancel={onCancel}
|
|
footer={[<Button onClick={onCancel}>关闭</Button>]}>
|
|
<div></div>
|
|
</Modal>
|
|
)
|
|
}
|
|
|
|
function mapStateToProps(state) {
|
|
const { auth, global } = state;
|
|
return {
|
|
user: auth.user,
|
|
error: auth.error,
|
|
actions: global.actions,
|
|
};
|
|
}
|
|
|
|
export default connect(mapStateToProps)(GatewayEditModal);
|