|
|
|
|
@ -8162,6 +8162,7 @@ var Stage = function Stage(_ref) {
|
|
|
|
|
var _Form$useForm7 = es_form/* default */.Z.useForm(),
|
|
|
|
|
_Form$useForm8 = slicedToArray_default()(_Form$useForm7, 1),
|
|
|
|
|
addBlankItemsForm = _Form$useForm8[0];
|
|
|
|
|
var isCreate = (0,_react_17_0_2_react.useRef)(isAdd);
|
|
|
|
|
// const [isAdd, setIsAdd] = useState(false);
|
|
|
|
|
var _useState13 = (0,_react_17_0_2_react.useState)([]),
|
|
|
|
|
_useState14 = slicedToArray_default()(_useState13, 2),
|
|
|
|
|
@ -8626,7 +8627,7 @@ var Stage = function Stage(_ref) {
|
|
|
|
|
// list.push({ type: 'VideoItem', id: item.id })
|
|
|
|
|
});
|
|
|
|
|
tagName = value.tagName, rest = objectWithoutProperties_default()(value, _excluded2);
|
|
|
|
|
if (!isAdd) {
|
|
|
|
|
if (!isCreate.current) {
|
|
|
|
|
_context5.next = 16;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
@ -8652,7 +8653,7 @@ var Stage = function Stage(_ref) {
|
|
|
|
|
stage_description: param.description,
|
|
|
|
|
tag: param.stage_tag_attributes
|
|
|
|
|
});
|
|
|
|
|
debugger;
|
|
|
|
|
isCreate.current = false;
|
|
|
|
|
setData(objectSpread2_default()({}, data));
|
|
|
|
|
}
|
|
|
|
|
_context5.next = 24;
|
|
|
|
|
@ -8678,7 +8679,7 @@ var Stage = function Stage(_ref) {
|
|
|
|
|
id: tagId,
|
|
|
|
|
name: tagName
|
|
|
|
|
} : {
|
|
|
|
|
name: tagName
|
|
|
|
|
name: tagName || ""
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
_context5.next = 22;
|
|
|
|
|
|