修改试卷管理和积分管理逻辑

This commit is contained in:
2023-03-01 18:02:47 +08:00
parent f9d865b615
commit 5d38863f4d
5 changed files with 296 additions and 4 deletions

View File

@@ -116,7 +116,9 @@ function editCourseFunc(row) {
question_id.value = form.value.question_id
content.value = JSON.parse(form.value.question).title
question_form.value = JSON.parse(form.value.question)
console.log(question_form.value)
if(!question_form.value.options) {
question_form.value.options = []
}
openDialog('edit')
}
function deleteCourseFunc(row) {