mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
修改核心表格功能,未指定权限的按钮均按add检测;
This commit is contained in:
@@ -464,7 +464,10 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
||||
} else {
|
||||
for (k in item) {
|
||||
var v = item[k];
|
||||
if (v.auth !== undefined && admin.checkAuth(v.auth, elem)) {
|
||||
if(v.auth == undefined){
|
||||
v.auth = 'add'
|
||||
}
|
||||
if (admin.checkAuth(v.auth, elem)) {
|
||||
check = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user