mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
fix bug
This commit is contained in:
@@ -450,7 +450,7 @@ function confirm() {
|
||||
}
|
||||
if (taskIndex.value === -1) {
|
||||
const list = props.taskList
|
||||
list.push({name: formData.value.examinationName, type: props.type, info: formData.value})
|
||||
list.push({name: formData.value.examinationName, type: props.type, info: {...formData.value}})
|
||||
} else {
|
||||
const data = props.taskList[taskIndex.value]
|
||||
data.name = formData.value.examinationName
|
||||
@@ -474,7 +474,7 @@ function confirmouter() {
|
||||
|
||||
if (taskIndex.value === -1) {
|
||||
const list = props.taskList
|
||||
list.push({name: formDataOuter.value.examinationName, type: props.type, info: formDataOuter.value})
|
||||
list.push({name: formDataOuter.value.examinationName, type: props.type, info: {...formDataOuter.value}})
|
||||
} else {
|
||||
const data = props.taskList[taskIndex.value]
|
||||
data.name = formDataOuter.value.examinationName
|
||||
|
||||
Reference in New Issue
Block a user