|
@@ -183,7 +183,7 @@ export default {
|
|
},
|
|
},
|
|
search() {
|
|
search() {
|
|
this.inner = true
|
|
this.inner = true
|
|
- if (this.value || this.value.length > 0) {
|
|
|
|
|
|
+ if ((typeof this.value == 'string' && this.value) || (typeof this.value == 'object' && this.value.length > 0)) {
|
|
var searchValue = {}
|
|
var searchValue = {}
|
|
if (this.field.type == 3) {
|
|
if (this.field.type == 3) {
|
|
searchValue = this.field.options.filter(item => {
|
|
searchValue = this.field.options.filter(item => {
|