#
luxiaotao1123
2024-02-18 8527d83c19bf5047a0e6dfd1363d74b51acb0e8e
zy-asrs-flow/src/pages/system/role/components/edit.jsx
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from 'react';
import React, { useState, useRef, useEffect } from 'react';
import {
    ProForm,
    ProFormDigit,
@@ -7,14 +7,12 @@
    ProFormDateTimePicker
} from '@ant-design/pro-components';
import { Form, Modal } from 'antd';
import { useIntl, FormattedMessage } from '@umijs/max';
import moment from 'moment';
import Http from '@/utils/http';
const Edit = (props) => {
    const [form] = Form.useForm();
    const { } = props;
    const intl = useIntl();
    useEffect(() => {
        form.resetFields();
@@ -96,7 +94,7 @@
                    </ProForm.Group>
                    <ProFormSelect
                        name="hostId"
                        label="搜索查询"
                        label="机构"
                        colProps={{ md: 12, xl: 12 }}
                        showSearch
                        debounceTime={300}
@@ -104,7 +102,6 @@
                            const resp = await Http.doPostForm('api/host/query', { condition: keyWords });
                            return resp.data;
                        }}
                        placeholder="Please select a country"
                    />
                </ProForm>
            </Modal>