【update】修改接口 list -> page
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
url: { list: '/sys/user/list' },
|
||||
url: { list: '/sys/user/page' },
|
||||
columns: [
|
||||
{ title: '姓名', align: 'center', width: '25%', widthRight: '70%', dataIndex: 'realname' },
|
||||
{ title: '账号', align: 'center', width: '25%', dataIndex: 'username' },
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
data() {
|
||||
return {
|
||||
returnKeys: ['id', 'roleCode'],
|
||||
url: { list: '/sys/role/list' },
|
||||
url: { list: '/sys/role/page' },
|
||||
columns: [
|
||||
{ title: '角色名称', dataIndex: 'roleName', align: 'center', width: 120 },
|
||||
{ title: '角色编码', dataIndex: 'roleCode', align: 'center', width: 120 }
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
confirmLoading: false,
|
||||
url: {
|
||||
add: "/act/model/create",
|
||||
list: "/sys/user/list"
|
||||
list: "/sys/user/page"
|
||||
},
|
||||
columns: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user