|
@@ -16,7 +16,7 @@ export const useStore = defineStore('user', {
|
|
actions: {
|
|
actions: {
|
|
setAddressSpace(as: AddressSpace) {
|
|
setAddressSpace(as: AddressSpace) {
|
|
this.addressSpace=as;
|
|
this.addressSpace=as;
|
|
- this.rootNode=as.findNode("ns=0;i=84")||null;
|
|
|
|
|
|
+ this.rootNode=this.addressSpace.findNode("ns=0;i=84")||null;
|
|
this.selectedNode=null;
|
|
this.selectedNode=null;
|
|
},
|
|
},
|
|
addNodeset(nodeset: UANodeSet) {
|
|
addNodeset(nodeset: UANodeSet) {
|