Quellcode durchsuchen

修复城市初始化第三级未设置问题

git vor 5 Jahren
Ursprung
Commit
320319d825
3 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2 2
      index.html
  2. 1 1
      scripts/rlmui.js
  3. 1 1
      scripts/rlmuidebug.js

+ 2 - 2
index.html

@@ -25,8 +25,8 @@
         <script type="text/javascript" src="cordova.js"></script>
         <script type="text/javascript" src="data/city.js"></script>
         <script type="text/javascript" src="scripts/echarts.js"></script>
-        <!-- <script type="text/javascript" src="scripts/rlmui.js"></script> -->
-        <script type="text/javascript" src="scripts/rlmuidebug.js"></script>
+        <script type="text/javascript" src="scripts/rlmui.js"></script>
+        <!-- <script type="text/javascript" src="scripts/rlmuidebug.js"></script> -->
         <script type="text/javascript" src="scripts/rlmuiex.js"></script>
         <script type="text/javascript" src="scripts/platformOverrides.js"></script>
         <script type="text/javascript" src="config/config.js"></script>

Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 1
scripts/rlmui.js


+ 1 - 1
scripts/rlmuidebug.js

@@ -1933,7 +1933,7 @@ u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(
         function(l, n) {
             if (n.value == i) {
                 b.setAngle(h, n.angle);
-                if (h.items.length > 21) {
+                if (h.items.length > 0) {
                     var j = g.find("ul");
                     j.html("");
                     h.beginindex = n.id - 10;