mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
修复菜单编辑,修改后台首页导致丢失pid问题
This commit is contained in:
@@ -91,7 +91,15 @@ define(["jquery", "easy-admin", "treetable", "iconPickerFa", "autocomplete"], fu
|
||||
auth: 'delete',
|
||||
class: 'layui-btn layui-btn-xs layui-btn-danger',
|
||||
extend: 'data-treetable-delete-item="1" data-url="' + init.delete_url + '"',
|
||||
data: ['id', 'title']
|
||||
data: ['id', 'title'],
|
||||
_if(data) {
|
||||
|
||||
if (data.pid == ea.getDataBrage('menu_home_pid')) {
|
||||
return false
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
},],
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user