Browse Source

fix issue

tags/v1.22.8.2^2
zhoupzh 3 years ago
parent
commit
b336c40137
1 changed files with 11 additions and 4 deletions
  1. +11
    -4
      web_src/js/components/dataset/referenceDataset.vue

+ 11
- 4
web_src/js/components/dataset/referenceDataset.vue View File

@@ -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);
});
},


Loading…
Cancel
Save