Przeglądaj źródła

Merge branch 'master' into Haozi

# Conflicts:
#	resources/js/queryForm/queryForm.js
haozi 5 lat temu
rodzic
commit
dee044a30e
2 zmienionych plików z 582 dodań i 310 usunięć
  1. 579 308
      public/js/app.js
  2. 3 2
      resources/js/queryForm/queryForm.js

Plik diff jest za duży
+ 579 - 308
public/js/app.js


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

@@ -566,8 +566,9 @@ const query = function getQueryForm(data) {
         })
         ul_div.hide();
         ul_div.mouseleave(function () {
-            if(_data[condition.name].value){
+            if(_data[condition.name].value.length>0){
                 _this.onsubmit();
+                ul_div.hide();
             }
         });
         return div;
@@ -872,7 +873,7 @@ const query = function getQueryForm(data) {
                 }
             } else {
                 if (![undefined, null, ''].includes(_data[key].value)) {
-                    if(controlJsType(_data[key].value,'array') && _data[key].value.length === 0){
+                    if(controlJsType(_data[key].value,'array') && _data[key].value.length === 0 ){
                         continue;
                     }
                     bool = true;

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików