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