This commit is contained in:
liuye
2022-11-03 10:52:54 +08:00
parent 309b1cdffa
commit 4e5c201cd2

View File

@@ -73,7 +73,7 @@ export default {
...mapState(['user']),
colConfigs() {
return [
{prop: "realName", label: "用户", align: "left"},
{prop: "nickName", label: "用户", align: "left"},
{prop: "phone", label: "手机号", align: "center"},
{prop: "levelTitle", label: "等级", align: "center"},
{prop: "integral", label: "积分数量", align: "center", sortable: "custom"},
@@ -136,11 +136,6 @@ export default {
}
}).then(res=> {
if(res?.data) {
res.data.records.map((item)=> {
if(!item.realName) {
item.realName = item.nickName
}
})
this.tableData = res.data.records
this.page.total = res.data.total
}