提交 4854e219 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 601ac676
......@@ -180,7 +180,7 @@ const handleEdit = function (type: number) {
// 添加
function handleAddExamRule() {
form.exam_rules.push({ id: '0', exam_id: '', percent: undefined, is_auto_scoring: 1 })
form.exam_rules.push({ id: '0', exam_id: '', percent: undefined, is_auto_scoring: '1' })
}
// 删除
......@@ -227,8 +227,8 @@ function handleRemoveExamRule(index: number) {
<el-table-column prop="is_auto_scoring" width="200">
<template #default="{ row }">
<el-radio-group v-model="row.is_auto_scoring" size="small">
<el-radio :label="1">自动评分</el-radio>
<!-- <el-radio :label="2">人工评分</el-radio> -->
<el-radio label="1">自动评分</el-radio>
<!-- <el-radio label="2">人工评分</el-radio> -->
</el-radio-group>
</template>
</el-table-column>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论