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