Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xwx
3 years ago
Commit
3acddf9424449198b87cc99d93eedcb50694f074
1 parent
993a3eee
拓补视图-【1093】-新增数据无法保存
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/mxgraphAdd.js
hg-monitor-web-base/src/main/resources/static/src/controller/mxgraphAdd.js
View file @
3acddf9
...
...
@@ -144,7 +144,6 @@ layui.define(['form', 'admin', 'layer', 'common', 'sessions', 'xmSelect', 'resli
//保存
$
(
"#jgraph-form-save-id"
).
on
(
"click"
,
function
(
e
,
flag
)
{
//当flag为true,为保存并设计,当flag为false时,为保存
form
.
on
(
'submit(form-grapheditor)'
,
function
()
{
var
topoTitle
=
$
(
"#jgraph_topo_name"
).
val
();
if
(
!
topoTitle
)
{
layer
.
msg
(
'请输入拓扑名称!'
,
{
icon
:
7
,
time
:
3000
});
...
...
@@ -235,7 +234,6 @@ layui.define(['form', 'admin', 'layer', 'common', 'sessions', 'xmSelect', 'resli
}
});
return
false
;
//必须要写,解决禁用submit提交,ajax方法才能正确执行,且表单不会自动刷新
})
form
.
render
();
});
renderGraphTopoInfo
();
...
...
Please
register
or
login
to post a comment