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
6e866c2d
Commit
6e866c2d
authored
Nov 14, 2022
by
ms group dev
Committed by
mingsoft
Nov 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 5.2.10 页面更新
Signed-off-by:
mingsoft
<
killfen@126.com
>
parent
85321c35
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
+15
-3
form.ftl
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
+8
-2
form.ftl
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
+0
-0
main.ftl
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
+6
-0
index.ftl
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
+1
-1
No files found.
src/main/webapp/WEB-INF/manager/cms/category/form.ftl
View file @
6e866c2d
...
...
@@ -7,8 +7,10 @@
<body>
<div
id=
"form"
v-cloak
>
<el-header
class=
"ms-header ms-tr"
height=
"50px"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
size=
"mini"
@
click=
"save()"
:loading=
"saveDisabled"
>
保存
</el-button>
<
@
shiro
.
hasPermission
name=
"cms:category:save"
>
<el-button
type=
"primary"
icon=
"iconfont icon-baocun"
size=
"mini"
@
click=
"save()"
:loading=
"saveDisabled"
>
保存
</el-button>
</
@
shiro
.hasPermission
>
<el-button
size=
"mini"
icon=
"iconfont icon-fanhui"
plain
onclick=
"javascript:history.go(-1)"
>
返回
</el-button>
</el-header>
<el-main
class=
"ms-container"
>
...
...
@@ -412,6 +414,10 @@
if
(
that
.
form
.
id
>
0
)
{
url
=
ms
.
manager
+
"/cms/category/update.do"
;
}
//若缩略图为空则赋值为空串
if
(
that
.
form
.
categoryImg
.
length
==
0
){
that
.
form
.
categoryImg
=
""
;
}
this
.
$refs
.
form
.
validate
(
function
(
valid
)
{
if
(
valid
)
{
//栏目属性为封面则不需要列表模板
...
...
src/main/webapp/WEB-INF/manager/cms/content/form.ftl
View file @
6e866c2d
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
View file @
6e866c2d
...
...
@@ -444,6 +444,12 @@
}).
then
(
function
(
res
)
{
if
(
res
.
result
)
{
that
.
contentCategoryIdOptions
=
res
.
data
.
rows
;
}
else
{
that
.
$notify
({
title
:
'失败'
,
message
:
res
.
msg
,
type
:
'warning'
});
}
that
.
list
();
...
...
src/main/webapp/WEB-INF/manager/cms/generate/index.ftl
View file @
6e866c2d
...
...
@@ -83,7 +83,7 @@
type=
"date"
>
</el-date-picker>
<div
class=
"ms-form-tip"
>
根据内容的
发布时间来生成,例如:2021-01-01,则生成21年01月01号以后发布的文章,如果遇到内容没有生成
可以调整时间
根据内容的
更新时间来生成,例如:2021-01-01,则生成21年01月01号以后更新过的文章,如果遇到内容没有生成或者内容样式没有更新
可以调整时间
</div>
</el-form-item>
</div>
...
...
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