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
13fe790d
authored
May 12, 2020
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
ae036501
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
public/js/web/design.js
public/js/web/design.js
View file @
13fe790d
...
@@ -358,7 +358,8 @@ var tag={
...
@@ -358,7 +358,8 @@ var tag={
$
(
".edit-con .gezi"
).
remove
();
$
(
".edit-con .gezi"
).
remove
();
$
(
".edit-con .huabuitem"
).
removeClass
(
"act"
);
$
(
".edit-con .huabuitem"
).
removeClass
(
"act"
);
$
(
".edit-con"
).
removeClass
(
"init-border"
);
$
(
".edit-con"
).
removeClass
(
"init-border"
);
obj
.
html
=
$
(
".edit-box"
).
html
();
obj
.
html
=
String
(
$
(
".edit-box"
).
html
());
console
.
log
(
obj
.
html
)
obj
.
designName
=
$
(
".designName"
).
val
()
obj
.
designName
=
$
(
".designName"
).
val
()
$
.
ajax
({
$
.
ajax
({
url
:
'/ajax/add_template'
,
url
:
'/ajax/add_template'
,
...
@@ -367,6 +368,7 @@ var tag={
...
@@ -367,6 +368,7 @@ var tag={
success
:
function
(
resp
)
{
success
:
function
(
resp
)
{
if
(
resp
.
err_code
==
0
)
{
if
(
resp
.
err_code
==
0
)
{
layer
.
msg
(
"提交成功"
,{
time
:
2000
});
layer
.
msg
(
"提交成功"
,{
time
:
2000
});
}
}
},
},
error
:
function
(
err
)
{
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