This commit is contained in:
parent
06a68a14c5
commit
45b11a12c5
|
|
@ -57,7 +57,9 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="$emit('start-upload', null)"
|
@click="$emit('start-upload', null)"
|
||||||
:disabled="
|
:disabled="
|
||||||
fileList.length === 0 || selectedTag.length === 0
|
fileList.length === 0 ||
|
||||||
|
selectedTag.length === 0 ||
|
||||||
|
newTagsList.length === 0
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
开始标注
|
开始标注
|
||||||
|
|
@ -79,6 +81,10 @@ export default {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
|
newTagsList: {
|
||||||
|
type: Array,
|
||||||
|
default: () => [],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
uploadLimit() {
|
uploadLimit() {
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
<FileUploader
|
<FileUploader
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:selected-tag="selectedTag"
|
:selected-tag="selectedTag"
|
||||||
|
:new-tags-list="newTagsList"
|
||||||
@file-change="
|
@file-change="
|
||||||
(file, fileList) => $emit('file-change', file, fileList)
|
(file, fileList) => $emit('file-change', file, fileList)
|
||||||
"
|
"
|
||||||
|
|
@ -96,6 +97,10 @@ export default {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
|
newTagsList: {
|
||||||
|
type: Array,
|
||||||
|
default: () => [],
|
||||||
|
},
|
||||||
fileList: {
|
fileList: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
|
|
|
||||||
|
|
@ -1009,7 +1009,6 @@ export default {
|
||||||
this.$refs.saveTagInput.$refs.input.focus()
|
this.$refs.saveTagInput.$refs.input.focus()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
handleInputConfirm() {
|
handleInputConfirm() {
|
||||||
let inputValue = this.inputValue
|
let inputValue = this.inputValue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
<FileUploader
|
<FileUploader
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:selected-tag="selectedTag"
|
:selected-tag="selectedTag"
|
||||||
|
:new-tags-list="newTagsList"
|
||||||
@file-change="handleFileChange"
|
@file-change="handleFileChange"
|
||||||
@remove-image="removeImage"
|
@remove-image="removeImage"
|
||||||
@start-upload="startUpload"
|
@start-upload="startUpload"
|
||||||
|
|
@ -57,6 +58,7 @@
|
||||||
:tags="tags"
|
:tags="tags"
|
||||||
:visible-tags="visibleTags"
|
:visible-tags="visibleTags"
|
||||||
:selected-tag="selectedTag"
|
:selected-tag="selectedTag"
|
||||||
|
:new-tags-list="newTagsList"
|
||||||
:file-list="fileList"
|
:file-list="fileList"
|
||||||
:is-sure="isSure"
|
:is-sure="isSure"
|
||||||
@hand-click="handleHandClick"
|
@hand-click="handleHandClick"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue