Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
a8052c76
"eladmin-tools/git@ustchcs.com:gujinli1118/eladmin.git" did not exist on "a71243d9eba30bca63aff56f02f3fc8601fe8495"
Commit
a8052c76
authored
Mar 02, 2018
by
ykb
Browse files
fix
parent
6e493261
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin-console/src/main/resources/static/js/admin/menu/add.js
View file @
a8052c76
...
...
@@ -15,9 +15,6 @@ layui.define([ 'form', 'laydate', 'table','menuApi'], function(exports) {
if
(
!
$
(
'
#parentMenuId
'
).
val
()){
$
(
'
#parentMenuId
'
).
val
(
0
);
}
if
(
!
$
(
'
#seq
'
).
val
()){
$
(
'
#seq
'
).
val
(
1
);
}
menuApi
.
addMenu
(
function
(){
Common
.
info
(
"
添加成功
"
);
...
...
admin-console/src/main/resources/static/js/admin/menu/edit.js
View file @
a8052c76
...
...
@@ -9,6 +9,11 @@ layui.define([ 'form', 'laydate', 'table','menuApi'], function(exports) {
},
initSubmit
:
function
(){
$
(
"
#saveMenu
"
).
click
(
function
(){
//默认值
if
(
!
$
(
'
#parentMenuId
'
).
val
()){
$
(
'
#parentMenuId
'
).
val
(
0
);
}
menuApi
.
updateMenu
(
function
(){
Common
.
info
(
"
更新成功
"
);
Lib
.
closeFrame
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment