|
|
@ -195,9 +195,8 @@ const data = ref([]); |
|
|
|
if (props.autoFetchData) { |
|
|
|
axios.get(props.fetchDataUrl ? props.fetchDataUrl : props.dataUrl).then((response) => { |
|
|
|
if (props.tree) { |
|
|
|
TreeBuilder.build(response.data); |
|
|
|
data.value = TreeBuilder.build(response.data); |
|
|
|
} |
|
|
|
data.value = response.data; |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|