Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
8418eb29
Commit
8418eb29
authored
Apr 06, 2021
by
wujj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示信息
parent
5d5aca22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
11 deletions
+20
-11
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+4
-2
form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+4
-2
index.ftl
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
+12
-7
No files found.
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
8418eb29
...
...
@@ -589,7 +589,8 @@
});
}
else
{
this
.
$notify
({
title
:
response
.
msg
,
title
:
'失败'
,
message
:
response
.
msg
,
type
:
'warning'
});
}
...
...
@@ -598,7 +599,8 @@
//上传超过限制
categoryImghandleExceed
:
function
(
files
,
fileList
)
{
this
.
$notify
({
title
:
'当前最多上传1个文件'
,
title
:
'失败'
,
message
:
'当前最多上传1个文件'
,
type
:
'warning'
});
},
...
...
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
View file @
8418eb29
...
...
@@ -595,7 +595,8 @@
});
}
else
{
this
.
$notify
({
title
:
response
.
msg
,
title
:
'失败'
,
message
:
response
.
msg
,
type
:
'warning'
});
}
...
...
@@ -614,7 +615,8 @@
//上传超过限制
contentImghandleExceed
:
function
(
files
,
fileList
)
{
this
.
$notify
({
title
:
'当前最多上传1个文件'
,
title
:
'失败'
,
message
:
'当前最多上传1个文件'
,
type
:
'warning'
});
},
...
...
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
View file @
8418eb29
...
...
@@ -166,7 +166,8 @@
var
that
=
this
;
if
(
!
that
.
position
||
that
.
position
==
''
)
{
this
.
$notify
({
title
:
'请输入主页位置!'
,
title
:
'失败'
,
message
:
'请输入主页位置!'
,
type
:
'warning'
});
return
;
...
...
@@ -178,13 +179,14 @@
}).
then
(
function
(
data
)
{
if
(
data
.
result
)
{
that
.
$notify
({
title
:
'更新成功!'
,
title
:
'成功'
,
message
:
'更新成功!'
,
type
:
'success'
});
}
else
{
that
.
$notify
({
title
:
'
更新失败!
'
,
message
:
"
错误
"
,
title
:
'
失败
'
,
message
:
"
更新失败!
"
,
type
:
'error'
});
}
...
...
@@ -203,7 +205,8 @@
viewIndex
:
function
()
{
if
(
!
this
.
position
||
this
.
position
==
''
)
{
this
.
$notify
({
title
:
'请输入主页位置!'
,
title
:
'失败'
,
message
:
'请输入主页位置!'
,
type
:
'warning'
});
return
;
...
...
@@ -217,7 +220,8 @@
ms
.
http
.
get
(
ms
.
manager
+
'/cms/generate/'
+
(
that
.
section
?
that
.
section
:
0
)
+
'/genernateColumn.do'
).
then
(
function
(
data
)
{
if
(
data
.
result
)
{
that
.
$notify
({
title
:
'更新成功!'
,
title
:
'成功'
,
message
:
'更新成功!'
,
type
:
'success'
});
}
else
{
...
...
@@ -247,7 +251,8 @@
}).
then
(
function
(
data
)
{
if
(
data
.
result
)
{
that
.
$notify
({
title
:
'更新成功!'
,
title
:
'成功'
,
message
:
'更新成功!'
,
type
:
'success'
});
}
else
{
...
...
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