|
@@ -173,6 +173,9 @@ export default {
|
|
this.page = 1;
|
|
this.page = 1;
|
|
this.page2 = 1;
|
|
this.page2 = 1;
|
|
this.page3 = 1;
|
|
this.page3 = 1;
|
|
|
|
+ this.chunksArray = []
|
|
|
|
+ this.entitiesArray = []
|
|
|
|
+ this.relationshipsArray = []
|
|
this.getFileDetail();
|
|
this.getFileDetail();
|
|
this.getChunks();
|
|
this.getChunks();
|
|
this.setGrapJson();
|
|
this.setGrapJson();
|
|
@@ -197,7 +200,6 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
getChunks() {
|
|
getChunks() {
|
|
- this.chunksArray = [];
|
|
|
|
this.chunksLoading = true;
|
|
this.chunksLoading = true;
|
|
let params = {
|
|
let params = {
|
|
documentId: this.did,
|
|
documentId: this.did,
|
|
@@ -214,6 +216,7 @@ export default {
|
|
})
|
|
})
|
|
.catch(err => {
|
|
.catch(err => {
|
|
this.chunksLoading = false;
|
|
this.chunksLoading = false;
|
|
|
|
+ this.chunksArray = [];
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -239,6 +242,7 @@ export default {
|
|
})
|
|
})
|
|
.catch(err => {
|
|
.catch(err => {
|
|
this.entitiesLoading = false;
|
|
this.entitiesLoading = false;
|
|
|
|
+ this.entitiesArray = [];
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -264,6 +268,7 @@ export default {
|
|
})
|
|
})
|
|
.catch(err => {
|
|
.catch(err => {
|
|
this.relationshipsLoading = false;
|
|
this.relationshipsLoading = false;
|
|
|
|
+ this.relationshipsArray = []
|
|
console.error(err);
|
|
console.error(err);
|
|
});
|
|
});
|
|
},
|
|
},
|