修复积分字段展示问题

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