This commit is contained in:
shijingjing
2022-05-12 09:43:20 +08:00
parent 7453962f52
commit d2bec8554d
2 changed files with 5 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
</div>
<div class="detail-info__item">
<h2>获取积分</h2>
<span style="color: #2266FF;">{{ info.personalIntegral || 0 }}</span>
<span style="color: #2266FF;">{{ info.personalIntegral + info.personalUsedIntegral }} || 0</span>
</div>
<div class="detail-info__item">
<h2>已用积分</h2>

View File

@@ -87,9 +87,10 @@ export default {
label: '用户账号',
},
{
prop: 'personalIntegral',
// prop: 'personalIntegral',
align: 'center',
label: '获取积分',
render: (h, {row}) => h('span',null, row.personalIntegral + row.personalUsedIntegral)
},
{
prop: 'personalUsedIntegral',
@@ -97,9 +98,10 @@ export default {
label: '已用积分',
},
{
prop: 'personalIntegral',
align: 'center',
label: '剩余积分',
render: (h, {row}) => h('span', null, row.personalIntegral - row.personalUsedIntegral)
// render: (h, {row}) => h('span', null, row.personalIntegral - row.personalUsedIntegral)
}
]
},