mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
修复积分字段展示问题
This commit is contained in:
@@ -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),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user