Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
04184cc5
Commit
04184cc5
authored
Oct 23, 2021
by
mingsoft
Browse files
优化文章列表
parent
9a24895a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/manager/cms/content/main.ftl
View file @
04184cc5
...
...
@@ -11,7 +11,7 @@
<el-header class="ms-header" height="50px">
<el-col :span="12">
<@shiro.hasPermission name="cms:content:save">
<el-button v-if="leaf==
'
true
'
" type="primary" icon="el-icon-plus" size="mini" @click="save()">新增</el-button>
<el-button v-if="leaf==true" type="primary" icon="el-icon-plus" size="mini" @click="save()">新增</el-button>
</@shiro.hasPermission>
<@shiro.hasPermission name="cms:content:del">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="del(selectionList)" :disabled="!selectionList.length">删除</el-button>
...
...
@@ -471,7 +471,7 @@
this
.contentCategoryIdOptionsGet
()
;
this
.contentTypeOptionsGet
()
;
this
.form.categoryId
=
ms
.util.getParameter
(
"categoryId"
)
;
this
.leaf
=
ms
.util.getParameter
(
"leaf"
)
;
this
.leaf
=
ms
.util.getParameter
(
"leaf"
)
==
null
?
true
:
JSON
.parse
(
ms
.util.getParameter
(
"leaf"
))
;
if
(
history
.hasOwnProperty
(
"state"
))
{
this
.form
=
history
.state.form
;
this
.currentPage
=
history
.state.page.pageNo
;
...
...
Write
Preview
Supports
Markdown
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