瀏覽代碼

修复android 9.0表单选择日期错误

git 5 年之前
父節點
當前提交
11a033832d
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 1 1
      pages/amap/amap.js
  2. 3 1
      scripts/rlmui.js

+ 1 - 1
pages/amap/amap.js

@@ -251,7 +251,7 @@
                         return;
                     }
                     latlngSign = mapData.vehicleLocation.longitude;
-                    if(!latlngSign){
+                    if(!latlngSign && first){
                         first = false;
                         t.map.setZoomAndCenter(15,startEnd.start);
                         t.vehicle.setPosition(null);

+ 3 - 1
scripts/rlmui.js

@@ -1075,7 +1075,9 @@ u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(
         $('#' + pageid).find('input[type="password"]:focus,input[type="text"]:focus,textarea:focus,.lrtextarea:focus').blur();
         if (renlian.isreal) {// 真机调试下隐藏键盘
             if(window.Keyboard){
-				window.Keyboard.hide();
+				if(window.Keyboard.hide){
+					window.Keyboard.hide();
+				}
 			}
         }
     };