Commit fcae6954 authored by 皮倩雯's avatar 皮倩雯

修改页面加载UI

parent 6accde46
Pipeline #33977 passed with stages
in 43 minutes 5 seconds
......@@ -31,7 +31,7 @@ const AddModal = props => {
const [pickItem, setPickItem] = useState('')
const [prefixName, setPrefixName] = useState('')
const [selectValue, setSelectValue] = useState('')
const [loading, setLoading] = useState(false);
const [standingTable, setStandingTable] = useState([]);
const [filed, setFiled] = useState({}); // 传给子组件列表数据
......@@ -50,7 +50,7 @@ const AddModal = props => {
const onSubmit = () => {
form.validateFields().then(validate => {
if (validate) {
// setLoading(true);
setLoading(true);
let obj = form.getFieldsValue();
// console.log(obj.Reportable)
console.log(obj)
......@@ -126,7 +126,7 @@ const AddModal = props => {
InterfaceConfig:obj.InterfaceConfig,
})
.then(res => {
// setLoading(false);
setLoading(false);
if (res.msg === 'Ok') {
form.resetFields();
callBackSubmit();
......@@ -155,7 +155,7 @@ const AddModal = props => {
if (type == 'add') {
CM_Event_AddEventTable(data)
.then(res => {
// setLoading(false);
setLoading(false);
if (res.msg === 'Ok') {
form.resetFields();
callBackSubmit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment