提交 d5c5191a authored 作者: lihuihui's avatar lihuihui
......@@ -58,7 +58,17 @@ export default {
columns: [
{ label: '考试ID', prop: 'exam_id' },
{ label: '考试名称', prop: 'name' },
{ label: '考试试卷', prop: 'papers' },
{
label: '考试试卷',
prop: 'papers',
computed({ row }) {
if (row.papers.length > 1) {
return Object.values(row.papers).toString()
} else {
return row.papers.toString()
}
}
},
{
label: '考试时间',
prop: 'exam_time',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论