mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-09-05 07:15:31 +08:00
feat(mcp): 密钥授权页,仅创建者拥有的节点可授权(防越权与漂移)
This commit is contained in:
@@ -40,7 +40,15 @@ $(function(){
|
||||
{field: 'status', search: 'select', selectList: ua.getDataBrage('select_list_status'), title: '状态', width: 100, templet: ua.table.switch},
|
||||
{field: 'remark', title: '备注', templet: ua.table.text},
|
||||
{
|
||||
width: 150, title: '操作', templet: ua.table.tool, fixed: 'right', operat: [
|
||||
width: 210, title: '操作', templet: ua.table.tool, fixed: 'right', operat: [
|
||||
[{
|
||||
text: '授权',
|
||||
url: init.authorize_url,
|
||||
method: 'open',
|
||||
auth: 'authorize',
|
||||
class: 'layui-btn layui-btn-normal layui-btn-xs',
|
||||
extend: 'data-full="true"'
|
||||
}],
|
||||
'edit',
|
||||
'delete'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user