|
@@ -163,7 +163,9 @@ const thirdtreeDatas = ref([])
|
|
|
const thirdElTreeProps = ref({
|
|
|
label: 'nodeName',
|
|
|
children: 'children',
|
|
|
- isLeaf: 'hasChildren'
|
|
|
+ isLeaf: function (data) {
|
|
|
+ return !data.hasChildren;
|
|
|
+ },
|
|
|
})
|
|
|
const getthirdTreeDatas = async (type) => {
|
|
|
const {error, code, data} = await getTreeAll({
|