Merge pull request #404 from xubowenjx/master

fix: showCreateItem bug #403
This commit is contained in:
Aresn 2020-04-08 17:21:44 +08:00 committed by GitHub
commit 29e8d254b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 62060 deletions

View file

@ -363,7 +363,7 @@
state = true;
const $options = findComponentsDownward(this, 'iOption');
if ($options && $options.length) {
if ($options.find(item => item.showLabel === this.query)) state = false;
if ($options.find(item => item.optionLabel === this.query)) state = false;
}
}
return state;