mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
feat: 表格按钮判断支持字符串1,以方便直接在js中调用php的auth函数判断
This commit is contained in:
@@ -111,6 +111,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
checkAuth: function (node, elem) {
|
checkAuth: function (node, elem) {
|
||||||
|
if(node === '1'){
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if (CONFIG.IS_SUPER_ADMIN) {
|
if (CONFIG.IS_SUPER_ADMIN) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user