This commit is contained in:
parent
699ef5ec61
commit
8c25ef575b
|
|
@ -1012,6 +1012,11 @@ export default {
|
|||
handleInputConfirm() {
|
||||
let inputValue = this.inputValue
|
||||
|
||||
if (!inputValue) {
|
||||
this.inputVisible = false
|
||||
return
|
||||
}
|
||||
|
||||
// 根据inputValue在annotationTypeOptions中查找是否存在
|
||||
const index = this.annotationTypeOptions.findIndex(
|
||||
(item) => item.value === inputValue,
|
||||
|
|
|
|||
Loading…
Reference in New Issue