mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 13:26:45 +08:00
fix bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user