fix:直播id

This commit is contained in:
wyx
2023-02-13 23:34:36 +08:00
parent ae1f2149f9
commit 0a236e0187
2 changed files with 3 additions and 4 deletions

View File

@@ -711,7 +711,7 @@ export default {
testId: state.EditTestId,
duration: state.duration,
attach:state.attach,
id: props.taskIdDraft
id: props.edit ? props.taskIdDraft : null
};
console.log("obj============", obj, "6" + "9");
console.log("222222222");

View File

@@ -753,8 +753,7 @@ export default {
otherSettings: state.switchC2 ? "1" : "0", //1或0
signOutTime: state.inputV8,
standardSettings: state.radioV1, //1或2
isEvaluate: state.needEval ? "1" : "0",
id: props.edit? props.taskIdDraft : ""
isEvaluate: state.needEval ? "1" : "0"
};
console.log("我是要更新的数据", state.obj);