|
|
|
@@ -464,11 +464,18 @@ export default { |
|
|
|
this.loadingLinkPage = true; |
|
|
|
let url = `${this.repoLink}/datasets/reference_datasets_data`; |
|
|
|
this.$axios.get(url).then((res) => { |
|
|
|
this.datasetList = res.data; |
|
|
|
this.datasetList.length |
|
|
|
? (this.showFlag = true) |
|
|
|
: (this.showFlag = false); |
|
|
|
this.loadingLinkPage = false; |
|
|
|
console.log(res); |
|
|
|
if (!res.data) { |
|
|
|
this.showFlag = false; |
|
|
|
return; |
|
|
|
} else { |
|
|
|
this.datasetList = res.data; |
|
|
|
this.datasetList.length |
|
|
|
? (this.showFlag = true) |
|
|
|
: (this.showFlag = false); |
|
|
|
} |
|
|
|
|
|
|
|
console.log("this.getDatasetList:", this.datasetList); |
|
|
|
}); |
|
|
|
}, |
|
|
|
|