Tree: revert import strategy
This commit is contained in:
@@ -15,10 +15,11 @@ for(let item of items.value) {
|
||||
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 arrows : Array<LinePath> = []
|
||||
const arrows : Array<pkg.LinePath> = []
|
||||
|
||||
onMounted(() => {
|
||||
refreshArrows()
|
||||
|
||||
Reference in New Issue
Block a user