mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
编辑考试名称有问题
This commit is contained in:
@@ -437,6 +437,7 @@ const disabledDate = (current) => {
|
||||
|
||||
// 系统考试
|
||||
async function confirm() {
|
||||
debugger
|
||||
await validate().catch(({errorFields}) => {
|
||||
message.warning(errorFields[0].errors.join());
|
||||
throw Error("数据校验不通过")
|
||||
@@ -447,7 +448,7 @@ async function confirm() {
|
||||
} else {
|
||||
const data = props.taskList[taskIndex.value]
|
||||
data.name = formData.value.examinationName
|
||||
data.info = formData.value
|
||||
data.info = {...formData.value}
|
||||
}
|
||||
emit('update:taskList', [...props.taskList])
|
||||
closeDrawer()
|
||||
|
||||
Reference in New Issue
Block a user