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
9be4a1ee
Commit
9be4a1ee
authored
Sep 03, 2020
by
luoxj
Browse files
表单标记
parent
c2775e2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/manager/cms/content/index.ftl
View file @
9be4a1ee
...
...
@@ -62,7 +62,11 @@
that
.treeData
=
[];
}
else
{
that
.emptyText
=
'';
that
.treeData
=
ms
.util.treeData
(
res
.data.rows
,
'
id
'
,
'
categoryId
'
,
'
children
'
)
;
//
过滤掉栏目类型为链接属性
that
.treeData
=
res
.data.rows.filter
(
function
(
item
)
{
return
item
.categoryType
=='
2
'
||
item
.categoryType
=='
1
'
})
that
.treeData
=
ms
.util.treeData
(
that
.treeData
,
'
id
'
,
'
categoryId
'
,
'
children
'
)
;
that
.treeData
=
[
{
id
:
0
,
categoryTitle
:
'全部'
,
...
...
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