Browse Source

fix issue

tags/v1.22.8.2^2
zhoupzh 3 years ago
parent
commit
4225ac6544
2 changed files with 7 additions and 5 deletions
  1. +6
    -4
      web_src/js/components/dataset/referenceDataset.vue
  2. +1
    -1
      web_src/js/features/i18nVue.js

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

@@ -481,10 +481,12 @@ export default {
}
},
changeCheckSelected(checked, item) {
let index = this.selectDatasetArray.findIndex((element) => {
return element.ID === item.ID;
});
this.selectDatasetArray.splice(index, 1);
if (!checked) {
let index = this.selectDatasetArray.findIndex((element) => {
return element.ID === item.ID;
});
this.selectDatasetArray.splice(index, 1);
}
},
postStar(item, isSigned) {
if (!isSigned) {


+ 1
- 1
web_src/js/features/i18nVue.js View File

@@ -156,7 +156,7 @@ export const i18nVue = {
dataset_link_success: "Linked dataset succeeded!",
dataset_link_failed: "Linked dataset Failed!",
dataset_over_nums: "Linked over ? datasets!",
cancel_link_dataset: "Cancel Linked dataset ? succeeded!",
cancel_link_dataset: "Cancel Linked dataset ? succeeded!",
image_label: "Image",
image_select_placeholder: "Select image or input image url",
image_select: "Select Image",


Loading…
Cancel
Save