Pre Merge pull request !351 from 谷谷/master

pull/351/MERGE
谷谷 2 years ago committed by Gitee
commit 5bb7600b3d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -58,6 +58,11 @@ export default {
unmatch() {
this.unmatchArray = [];
if (this.value !== null && typeof this.value !== "undefined") {
// Boolean
// truefalse
if (this.value === true || this.value === false) {
this.value = String(this.value);
}
//
if (!Array.isArray(this.value)) {
if (this.options.some((v) => v.value == this.value)) return false;

Loading…
Cancel
Save