Explorar el Código

搜素js调整

Zhouzhendong hace 5 años
padre
commit
d187489064
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;
                 }
             }