mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
修改核心表格功能,未指定权限的按钮均按add检测;
This commit is contained in:
@@ -464,7 +464,10 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
|||||||
} else {
|
} else {
|
||||||
for (k in item) {
|
for (k in item) {
|
||||||
var v = item[k];
|
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;
|
check = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user