修改看板

dev
夜笙歌 1 year ago
parent dc505ab90e
commit e4f977911a

@ -7,7 +7,6 @@
<el-tree <el-tree
:data="treeData" :data="treeData"
:props="{label:'monitorUnitName',children:'child',value:'monitorUnitId'}"
accordion accordion
node-key="id" node-key="id"
@node-click="treeClick"> @node-click="treeClick">
@ -118,7 +117,7 @@ export default {
}, },
methods: { methods: {
async getTree() { async getTree() {
const {rows: data} = await treeList() const {data} = await treeList()
console.log(data) console.log(data)
this.treeData = data this.treeData = data
}, },

Loading…
Cancel
Save