mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 10:08:04 +08:00
修复模块添加菜单时异常
This commit is contained in:
@@ -177,7 +177,7 @@ layui.config({
|
||||
type: 1,
|
||||
content: $('#divMenuEdit'),
|
||||
success: function () {
|
||||
if (data == undefined) {
|
||||
if (!update) {
|
||||
form.val("mfromEdit", menuInital);
|
||||
} else {
|
||||
form.val("mfromEdit", data);
|
||||
@@ -204,6 +204,7 @@ layui.config({
|
||||
}
|
||||
return {
|
||||
add: function (moduleId) { //弹出添加
|
||||
menuInital.ModuleId = moduleId;
|
||||
show(false);
|
||||
},
|
||||
update: function (data) { //弹出编辑框
|
||||
|
Reference in New Issue
Block a user