优化代码支持多用户类型扩展
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta charset="utf-8"/>
|
||||
<title>Demo</title>
|
||||
<title>zlt-mp</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<link rel="stylesheet" href="assets/libs/layui/css/layui.css"/>
|
||||
<link rel="stylesheet" href="assets/css/admin.css"/>
|
||||
|
||||
@@ -46,11 +46,12 @@
|
||||
{
|
||||
sort: true, templet: function (d) {
|
||||
return util.toDateString(d.expiration);
|
||||
}, title: '到期时间'
|
||||
}, width:180, title: '到期时间'
|
||||
},
|
||||
{field: 'username',width:180, sort: true, title: '用户名'},
|
||||
{field: 'grantType',width:180, sort: true, title: '授权类型'},
|
||||
{field: 'clientId',width:180, sort: true, title: '所属应用'},
|
||||
{field: 'accountType',width:180, sort: true, title: '账号类型'},
|
||||
{align: 'center',width:100, toolbar: '#tokens-table-bar', title: '操作'}
|
||||
]]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user