nickName
This commit is contained in:
		| @@ -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 | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user