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

@@ -134,7 +134,7 @@ const disabledRangeTime = () => ({
function confirm() {
if (taskIndex.value === -1) {
const list = props.taskList
list.push({name: formData.value.workName, type: props.type, info: formData.value})
list.push({name: formData.value.workName, type: props.type, info: {...formData.value}})
} else {
const data = props.taskList[taskIndex.value]
data.name = formData.value.workName