| @@ -27,7 +27,8 @@ | |||||
| .width85 { | .width85 { | ||||
| width: 85% !important; | width: 85% !important; | ||||
| margin-left: 4.5rem !important; | |||||
| margin-left: 10.5rem !important; | |||||
| align-items: center; | |||||
| } | } | ||||
| .width81 { | .width81 { | ||||
| @@ -444,9 +444,9 @@ | |||||
| <tbody> | <tbody> | ||||
| {{range $.datasetDownload}} | {{range $.datasetDownload}} | ||||
| <tr> | <tr> | ||||
| <td style="word-wrap: break-word;word-break: break-all;" class="center aligned"><a>{{.DatasetName}}</a></td> | |||||
| <td style="word-wrap: break-word;word-break: break-all;" class="center aligned"><a style="cursor: default;">{{.DatasetName}}</a></td> | |||||
| <td style="word-wrap: break-word;word-break: break-all;">{{.DatasetDownloadLink}}</td> | <td style="word-wrap: break-word;word-break: break-all;">{{.DatasetDownloadLink}}</td> | ||||
| <td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="asdasd">复制链接</a></td> | |||||
| <td class="center aligned"><a class="ui poping up clipboard" id="clipboard-btn" data-original="{{$.i18n.Tr "repo.copy_link"}}" data-success="{{$.i18n.Tr "repo.copy_link_success"}}" data-error="{{$.i18n.Tr "repo.copy_link_error"}}" data-content="{{$.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-text="{{.DatasetDownloadLink}}">复制链接</a></td> | |||||
| </tr> | </tr> | ||||
| {{end}} | {{end}} | ||||
| </tbody> | </tbody> | ||||
| @@ -22,7 +22,8 @@ | |||||
| } | } | ||||
| .width85{ | .width85{ | ||||
| width: 85% !important; | width: 85% !important; | ||||
| margin-left: 4.5rem !important; | |||||
| margin-left: 10.5rem !important; | |||||
| align-items: center; | |||||
| } | } | ||||
| .width81{ | .width81{ | ||||
| margin-left: 1.5rem; | margin-left: 1.5rem; | ||||
| @@ -74,7 +74,7 @@ | |||||
| ></i> | ></i> | ||||
| <input | <input | ||||
| type="text" | type="text" | ||||
| placeholder="搜数据集名称..." | |||||
| placeholder="搜数据集名称/描述..." | |||||
| v-model="search" | v-model="search" | ||||
| @keyup.enter="searchName" | @keyup.enter="searchName" | ||||
| /> | /> | ||||
| @@ -618,7 +618,10 @@ export default { | |||||
| methods: { | methods: { | ||||
| openDataset() { | openDataset() { | ||||
| this.dialogVisible = true; | this.dialogVisible = true; | ||||
| this.confirmFlag = false; | |||||
| if (!this.confirmDatasetList) { | |||||
| this.confirmFlag = false; | |||||
| } | |||||
| this.getCurrentRepoDataset(); | this.getCurrentRepoDataset(); | ||||
| }, | }, | ||||
| handleClick(tab, event) { | handleClick(tab, event) { | ||||
| @@ -651,7 +654,8 @@ export default { | |||||
| console.log("111111111111"); | console.log("111111111111"); | ||||
| if ( | if ( | ||||
| this.selectDatasetArray.some((item) => { | 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); | this.$refs[data.ref].setChecked(data.id, false, false); | ||||