Commit 992ad72f by zhaochengxiang

删除警告

parent a21c2933
......@@ -6,8 +6,6 @@ import { showMessage } from '../../../../util';
import './AddTagModal.less';
const { TextArea } = Input;
const AddTagModal = (props) => {
const { visible, onCancel, id, type, creator } = props;
......@@ -17,7 +15,6 @@ const AddTagModal = (props) => {
const [ matchTags, setMatchTags ] = useState([]);
const [ options, setOptions ] = useState();
const [ confirmLoading, setConfirmLoading ] = useState(false);
const [ description, setDescription ] = useState('');
const [ tagForm, setTagForm ] = useState({});
const [form] = Form.useForm();
......@@ -29,6 +26,7 @@ const AddTagModal = (props) => {
getSupportTagForm();
}
//eslint-disable-next-line react-hooks/exhaustive-deps
}, [ visible ])
const getTagByKeywordAndCreator = (value=keyword) => {
......@@ -219,10 +217,6 @@ const AddTagModal = (props) => {
}
}
const onDescriptionChange = (e) => {
setDescription(e.target.value);
}
const reset = () => {
setConfirmLoading(false);
setStep(0);
......
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