Commit 20cfed60 authored by 张伯涛's avatar 张伯涛

bug修改

parent ce803d93
......@@ -196,7 +196,7 @@
:prop="column.prop"
>
<template slot-scope="scope">
{{ column.prop === 'schedule' ? parseInt(scope.row[column.prop]) + '%' :scope.row[column.prop] }}
{{ column.prop === 'schedule' ? Math.floor(Number(scope.row[column.prop]) * 100) + '%' :scope.row[column.prop] }}
</template>
</el-table-column>
</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