Commit 9be4a1ee authored by luoxj's avatar luoxj

表单标记

parent c2775e2b
...@@ -62,7 +62,11 @@ ...@@ -62,7 +62,11 @@
that.treeData = []; that.treeData = [];
} else { } else {
that.emptyText = ''; 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 = [{ that.treeData = [{
id: 0, id: 0,
categoryTitle: '全部', categoryTitle: '全部',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment