Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
note-library
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a360d2be
authored
May 12, 2020
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
阿萨德
parent
13fe790d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
public/js/web/design.js
public/js/web/design.js
View file @
a360d2be
...
...
@@ -358,8 +358,8 @@ var tag={
$
(
".edit-con .gezi"
).
remove
();
$
(
".edit-con .huabuitem"
).
removeClass
(
"act"
);
$
(
".edit-con"
).
removeClass
(
"init-border"
);
obj
.
html
=
String
(
$
(
".edit-box"
).
html
());
console
.
log
(
obj
.
html
)
obj
.
html
p
=
String
(
$
(
".edit-box"
).
html
());
console
.
log
(
obj
.
html
p
)
obj
.
designName
=
$
(
".designName"
).
val
()
$
.
ajax
({
url
:
'/ajax/add_template'
,
...
...
@@ -368,7 +368,13 @@ var tag={
success
:
function
(
resp
)
{
if
(
resp
.
err_code
==
0
)
{
layer
.
msg
(
"提交成功"
,{
time
:
2000
});
setTimeout
(
function
(){
window
.
location
.
href
=
"/web/labelList"
},
2000
)
}
else
{
layer
.
msg
(
resp
.
err_msg
,{
time
:
2000
});
tag
.
editUi
();
}
},
error
:
function
(
err
)
{
...
...
Write
Preview
Markdown
is supported
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