diff --git a/templates/repo/cloudbrain/trainjob/new.tmpl b/templates/repo/cloudbrain/trainjob/new.tmpl index f4ffc17b0..0b7fc8d30 100755 --- a/templates/repo/cloudbrain/trainjob/new.tmpl +++ b/templates/repo/cloudbrain/trainjob/new.tmpl @@ -27,7 +27,8 @@ .width85 { width: 85% !important; - margin-left: 4.5rem !important; + margin-left: 10.5rem !important; + align-items: center; } .width81 { diff --git a/templates/repo/modelarts/notebook/show.tmpl b/templates/repo/modelarts/notebook/show.tmpl index 398ac3c3e..508733e08 100755 --- a/templates/repo/modelarts/notebook/show.tmpl +++ b/templates/repo/modelarts/notebook/show.tmpl @@ -444,9 +444,9 @@ {{range $.datasetDownload}} - {{.DatasetName}} + {{.DatasetName}} {{.DatasetDownloadLink}} - 复制链接 + 复制链接 {{end}} diff --git a/templates/repo/modelarts/trainjob/new.tmpl b/templates/repo/modelarts/trainjob/new.tmpl index 5437323e2..1d1583e2d 100755 --- a/templates/repo/modelarts/trainjob/new.tmpl +++ b/templates/repo/modelarts/trainjob/new.tmpl @@ -22,7 +22,8 @@ } .width85{ width: 85% !important; - margin-left: 4.5rem !important; + margin-left: 10.5rem !important; + align-items: center; } .width81{ margin-left: 1.5rem; diff --git a/web_src/js/components/dataset/selectDataset.vue b/web_src/js/components/dataset/selectDataset.vue index 2540e8a31..a03f90775 100755 --- a/web_src/js/components/dataset/selectDataset.vue +++ b/web_src/js/components/dataset/selectDataset.vue @@ -74,7 +74,7 @@ > @@ -618,7 +618,10 @@ export default { methods: { openDataset() { this.dialogVisible = true; - this.confirmFlag = false; + if (!this.confirmDatasetList) { + this.confirmFlag = false; + } + this.getCurrentRepoDataset(); }, handleClick(tab, event) { @@ -651,7 +654,8 @@ export default { console.log("111111111111"); if ( this.selectDatasetArray.some((item) => { - return item.label === data.label; + console.log(item.label.split(".")[0], data.label.split(".")[0]); + return item.label.split(".")[0] === data.label.split(".")[0]; }) ) { this.$refs[data.ref].setChecked(data.id, false, false);