This commit is contained in:
yuping
2023-02-19 18:23:12 +08:00
parent 7d7c939619
commit d0d7eb7dcf
9 changed files with 19 additions and 19 deletions

View File

@@ -455,7 +455,7 @@ async function confirm() {
});
if (taskIndex.value === -1) {
const list = props.taskList
list.push({name: formData.value.liveName, type: props.type, info: formData.value})
list.push({name: formData.value.liveName, type: props.type, info: {...formData.value}})
} else {
const data = props.taskList[taskIndex.value]
data.name = formData.value.liveName