|
|
|
@@ -496,10 +496,14 @@ export default { |
|
|
|
}, |
|
|
|
submitReferDataset() { |
|
|
|
let url = `${this.repoLink}/datasets/reference_datasets`; |
|
|
|
let data = this.qs.stringify({ |
|
|
|
_csrf: csrf, |
|
|
|
dataset_id: this.checkList, |
|
|
|
}); |
|
|
|
let data = this.qs.stringify( |
|
|
|
{ |
|
|
|
_csrf: csrf, |
|
|
|
dataset_id: this.checkList, |
|
|
|
}, |
|
|
|
{ arrayFormat: "repeat" } |
|
|
|
); |
|
|
|
console.log(data); |
|
|
|
this.$axios.post(url, data).then((res) => { |
|
|
|
if (res.data.Code === 0) { |
|
|
|
this.getSelectDatasetList(); |
|
|
|
|