提交 5ec7742d authored 作者: lihuihui's avatar lihuihui
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<el-table-column prop="case_info.name" label="案例名称" min-width="160" /> <el-table-column prop="case_info.name" label="案例名称" min-width="160" />
<el-table-column prop="score" label="分数" min-width="120" > <el-table-column prop="score" label="分数" min-width="120" >
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.is_complete ? scope.row.score : ''}} {{scope.row.is_complete ? parseInt(scope.row.score) : ''}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="updated_at" label="保存时间" min-width="160" /> <el-table-column prop="updated_at" label="保存时间" min-width="160" />
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<el-table-column prop="case_info.name" label="案例名称" min-width="160" /> <el-table-column prop="case_info.name" label="案例名称" min-width="160" />
<el-table-column prop="score" label="分数" min-width="120" > <el-table-column prop="score" label="分数" min-width="120" >
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.is_complete ? scope.row.score : ''}} {{scope.row.is_complete ? parseInt(scope.row.score) : ''}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="updated_at" label="保存时间" min-width="160" /> <el-table-column prop="updated_at" label="保存时间" min-width="160" />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论