Tree: revert import strategy
This commit is contained in:
@@ -15,10 +15,11 @@ for(let item of items.value) {
|
|||||||
itemMap.set(item.id, item)
|
itemMap.set(item.id, item)
|
||||||
}
|
}
|
||||||
|
|
||||||
import { LinePath } from 'svg-dom-arrows';
|
import pkg from 'svg-dom-arrows';
|
||||||
|
const { LinePath } = pkg;
|
||||||
|
|
||||||
const start : Ref<Element | null> = useTemplateRef("start")
|
const start : Ref<Element | null> = useTemplateRef("start")
|
||||||
const arrows : Array<LinePath> = []
|
const arrows : Array<pkg.LinePath> = []
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
refreshArrows()
|
refreshArrows()
|
||||||
|
|||||||
Reference in New Issue
Block a user