修复积分字段展示问题

master
pikachu 2021-07-13 18:55:20 +08:00
parent 0b62cba3b9
commit fbb24fd07f
1 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@
{ {
title: "变动积分", title: "变动积分",
key: "point", key: "variablePoint",
width: 110, width: 110,
render: (h, params) => { render: (h, params) => {
if (params.row.pointType == 'INCREASE') { if (params.row.pointType == 'INCREASE') {
@ -106,7 +106,7 @@
style: { style: {
color: 'green' color: 'green'
} }
}, "+" + params.row.point), }, "+" + params.row.variablePoint),
]); ]);
} else { } else {
return h('div', [ return h('div', [
@ -114,7 +114,7 @@
style: { style: {
color: 'red' color: 'red'
} }
}, "-" + params.row.point), }, "-" + params.row.variablePoint),
]); ]);
} }