【修改】试卷任务切换,总体细节
This commit is contained in:
@@ -213,7 +213,7 @@ const open = async (type: 'create' | 'update', data?: any) => {
|
||||
schemeId: undefined,
|
||||
taskId: props.taskId,
|
||||
spName: undefined,
|
||||
quLevel: undefined,
|
||||
quLevel: 3,
|
||||
quTitle:undefined,
|
||||
keyword: [],
|
||||
pointName: [],
|
||||
@@ -375,6 +375,12 @@ watch(
|
||||
},
|
||||
{ deep: true }
|
||||
)
|
||||
watch(() => form.value.spName, (newVal) => {
|
||||
if (newVal) {
|
||||
form.value.quTitle = newVal
|
||||
}
|
||||
})
|
||||
|
||||
watch(
|
||||
() => [form.value.quNumbers, form.value.quScores],
|
||||
() => {
|
||||
|
Reference in New Issue
Block a user