mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 12:56:45 +08:00
提交小数问题
This commit is contained in:
@@ -101,7 +101,7 @@ const column = ref([
|
|||||||
width: 10,
|
width: 10,
|
||||||
align: "center",
|
align: "center",
|
||||||
className: "h",
|
className: "h",
|
||||||
customRender: ({ text }) => (<span> {text ? text : 0}</span>)
|
customRender: ({ text }) => (<span> {text ? Number.isInteger(Number(text)) ? text : Number(text).toFixed(1) : 0}</span>)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "授课讲师",
|
title: "授课讲师",
|
||||||
|
|||||||
Reference in New Issue
Block a user