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