课件搜索调整
This commit is contained in:
parent
6ada0ac0c2
commit
942a557287
|
@ -108,7 +108,7 @@ export function dictToTree(list, tree, parentId) {
|
|||
if (child.children.length <= 0) {
|
||||
delete child.children
|
||||
} else {
|
||||
child.selectable = false;
|
||||
// child.selectable = false;
|
||||
}
|
||||
|
||||
tree.push(child)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<!-- :disabled="tabDis" -->
|
||||
</a-menu>
|
||||
<!-- :defaultExpandedKeys="defaultExpandedKeys :replaceFields="replaceFields"" -->
|
||||
<a-tree :treeData="treeData" @select="onSelect" :defaultExpandAll="true" >
|
||||
<a-tree :treeData="treeData" @select="onSelect" :defaultExpandAll="true" :replaceFields="replaceFields">
|
||||
<a-icon slot="switcherIcon" type="down" />
|
||||
</a-tree>
|
||||
</a-col>
|
||||
|
@ -88,7 +88,7 @@ export default {
|
|||
menuKey: ['sys'], //默认系统课程
|
||||
// 查询参数
|
||||
queryParam: { name: '', classType: 1, type: 1, tags: [] },
|
||||
// replaceFields: { children: 'children', title: 'name', key: 'value', value: 'id' },
|
||||
replaceFields: { children: 'children', title: 'title', key: 'value', value: 'key' },
|
||||
expandedKeys: [],
|
||||
autoExpandParent: true,
|
||||
dictCourseTag: [], //课程标签
|
||||
|
|
Loading…
Reference in New Issue