user_list

pull/269/head
volleyball26 2021-01-21 16:21:42 +08:00
parent 3adbe087cd
commit 5e2336c530
2 changed files with 5 additions and 10 deletions

View File

@ -64,7 +64,7 @@ export default {
{
icon: 'el-icon-lx-cascades',
index: 'table',
title: '基础表格'
title: '用户列表'
},
{
icon: 'el-icon-lx-copy',
@ -145,11 +145,6 @@ export default {
}
]
},
{
icon: 'el-icon-lx-redpacket_fill',
index: '/donate',
title: '支持作者'
}
]
};
},

View File

@ -3,7 +3,7 @@
<div class="crumbs">
<el-breadcrumb separator="/">
<el-breadcrumb-item>
<i class="el-icon-lx-cascades"></i> 基础表格
<i class="el-icon-lx-cascades"></i> 用户列表
</el-breadcrumb-item>
</el-breadcrumb>
</div>
@ -101,7 +101,7 @@ export default {
data() {
return {
query: {
address: '',
department: '',
name: '',
pageIndex: 1,
pageSize: 10
@ -124,8 +124,8 @@ export default {
getData() {
fetchData(this.query).then(res => {
console.log(res);
this.tableData = res;
this.pageTotal = res.pageTotal || 50;
this.tableData = res.msg.user_list;
this.pageTotal = res.msg.pageTotal;
});
},
//