Commit 77e7be0b authored by 涂伟's avatar 涂伟

fix: '运维流程配置提交参数优化'

parent 1e250241
Pipeline #67844 waiting for manual action with stages
......@@ -501,7 +501,7 @@ const AddModal = props => {
const [previewModal, setPreviewModal] = useState(false);
const [editTypeModal, setEditTypeModal] = useState(false);
const [flowTableData, setFlowTableData] = useState([]);
const [eventFlowId, setEventFlowId] = useState('');
const [eventFlowId, setEventFlowId] = useState(0);
const [show, setShow] = useState('hidden');
const [visibleChecked, setVisibleChecked] = useState(false);
const [initWay, setInitWay] = useState(); // 初始上报方式
......@@ -1141,7 +1141,7 @@ const AddModal = props => {
if (res.data.length && res.data.length === 1) {
setEventFlowId(res.data[0].ID);
} else {
setEventFlowId('')
setEventFlowId(0)
setFlowTableData(res.data);
setEditTypeModal(true);
}
......
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