@@ -22,6 +22,7 @@
},
{
label: record.snCode ? '解除' : '授权',
+ ifShow: getCheckPerm('account-authorize-lift'),
onClick: handleSnCode.bind(null, record, 'edit'),
]"
@@ -217,6 +218,7 @@
registerAddSnModal,
handleDelete,
handleSnCode,
+ getCheckPerm,
t,
};