Commit 55a95ec3 authored by 刘帅阳's avatar 刘帅阳

修改bug

parent 20cfed60
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
:prop="column.prop" :prop="column.prop"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ column.prop === 'schedule' ? Math.floor(Number(scope.row[column.prop]) * 100) + '%' :scope.row[column.prop] }} {{ column.prop === 'schedule' ? Math.floor(Number(scope.row[column.prop]) * 100) + '%' : (column.prop === 'day' ? scope.row[column.prop] + '天' : scope.row[column.prop]) }}
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment