字典列表
This commit is contained in:
@@ -46,40 +46,7 @@
|
||||
selectedKeys: [],
|
||||
expandedKeys: [],
|
||||
autoExpandParent: true,
|
||||
treeData: [
|
||||
{
|
||||
title: '车身结构',
|
||||
key: '0-0',
|
||||
children: [
|
||||
{
|
||||
title: '车身',
|
||||
key: '0-0-0',
|
||||
children: [
|
||||
{ title: '前窗', key: '0-0-0-0' },
|
||||
{ title: '挡风', key: '0-0-0-1' },
|
||||
{ title: '车门', key: '0-0-0-2' },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '底盘',
|
||||
key: '0-0-1',
|
||||
},
|
||||
{
|
||||
title: '车机系统',
|
||||
key: '0-0-2',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: '软件中心',
|
||||
key: '0-1',
|
||||
children: [
|
||||
{ title: '软件一', key: '0-1-0-0' },
|
||||
{ title: '软件二', key: '0-1-0-1' },
|
||||
{ title: '软件三', key: '0-1-0-2' },
|
||||
],
|
||||
},
|
||||
],
|
||||
treeData: [],
|
||||
dataList:[],
|
||||
searchValue:''
|
||||
}
|
||||
@@ -106,7 +73,7 @@
|
||||
if(res.success){
|
||||
let data=res.result
|
||||
this.treeData=this.addAttr(data)
|
||||
console.log('treeData',this.treeData)
|
||||
// console.log('treeData',this.treeData)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user