|
@@ -9,8 +9,6 @@ import VDialog from './VDialog.vue'
|
|
|
const store = useStore()
|
|
|
const newDialogOpen = ref(false);
|
|
|
const newDialogDisabled = ref(false);
|
|
|
-
|
|
|
-
|
|
|
const projectType = ref("ua");
|
|
|
|
|
|
async function exportProject() {
|
|
@@ -56,7 +54,7 @@ async function handleDrop(e:DragEvent) {
|
|
|
return;
|
|
|
for(let file of e.dataTransfer.files) {
|
|
|
let xmlString= await file.text();
|
|
|
- store.addressSpace?.addNodeset(await UANodeSet.parse(xmlString, file.name));
|
|
|
+ store.addNodeset(await UANodeSet.parse(xmlString, file.name));
|
|
|
}
|
|
|
}
|
|
|
</script>
|