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