user_list
parent
3adbe087cd
commit
5e2336c530
|
@ -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: '支持作者'
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
// 触发搜索按钮
|
||||
|
|
Loading…
Reference in New Issue