Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
page
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f7a9a99d
authored
2018-03-21 23:36:17 +0800
by
yangjianbin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
init
1 parent
f430f56c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
application/views/tool/add.php
application/views/tool/add.php
View file @
f7a9a99
...
...
@@ -44,7 +44,6 @@
}
},
submitHandler
:
function
(
form
){
alert
(
"提交事件!"
);
submit
();
}
});
...
...
@@ -62,15 +61,15 @@
contentType
:
"application/json; charset=UTF-8"
,
success
:
function
(
data
){
if
(
data
.
msg
){
alert
(
data
.
msg
);
layer
.
alert
(
data
.
msg
);
}
else
if
(
data
.
code
!=
0
){
alert
(
'请求失败'
);
layer
.
alert
(
'请求失败'
);
}
else
{
alert
(
'请求成功'
);
layer
.
alert
(
'请求成功'
);
}
},
error
:
function
(){
alert
(
"请求失败"
)
layer
.
alert
(
"请求失败"
)
}
})
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment