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
9be4a1ee
Commit
9be4a1ee
authored
Sep 03, 2020
by
luoxj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表单标记
parent
c2775e2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
index.ftl
src/main/webapp/WEB-INF/manager/cms/content/index.ftl
+5
-1
No files found.
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
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