Zhouzhendong 5 лет назад
Родитель
Сommit
d187489064
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      resources/js/queryForm/queryForm.js

+ 3 - 0
resources/js/queryForm/queryForm.js

@@ -871,6 +871,9 @@ const query = function getQueryForm(data) {
                 }
             } else {
                 if (![undefined, null, ''].includes(_data[key].value)) {
+                    if(controlJsType(_data[key].value,'array') && _data[key].value.length === 0 ){
+                        continue;
+                    }
                     bool = true;
                 }
             }