feat: 表格按钮判断支持字符串1,以方便直接在js中调用php的auth函数判断

This commit is contained in:
augushong
2025-04-14 19:48:15 +08:00
parent 010fd3f240
commit 651efc5814

View File

@@ -111,6 +111,9 @@
},
checkAuth: function (node, elem) {
if(node === '1'){
return true;
}
if (CONFIG.IS_SUPER_ADMIN) {
return true;
}