Browse Source

修复bug

xiaohaizhao 9 months ago
parent
commit
5fe3f558e8
2 changed files with 20 additions and 4 deletions
  1. 1 1
      control/modules/My_input.vue
  2. 19 3
      manifest.json

+ 1 - 1
control/modules/My_input.vue

@@ -402,7 +402,7 @@ export default {
       if (item.inputType == "int" || item.inputType == "step") {
         value = this.value - 0;
         // if (value == 0) return this.submitBreak("还未输入值");
-        if (params.num_scale != 0) value = value.toFixed(params.num_scale);
+        if (params.num_scale != 0) value = value.toFixed(params.num_scale) - 0;
         if (params.num_minvalue && value - 0 < params.num_minvalue - 0)
           return this.submitBreak("输入值小于最低范围");
         if (params.num_maxvalue && value - 0 > params.num_maxvalue - 0)

+ 19 - 3
manifest.json

@@ -18,7 +18,13 @@
             "delay" : 0
         },
         /* 模块配置 */
-        "modules" : {},
+        "modules" : {
+            "Bluetooth" : {},
+            "Geolocation" : {},
+            "Barcode" : {},
+            "Camera" : {},
+            "Maps" : {}
+        },
         /* 应用发布信息 */
         "distribute" : {
             /* android打包配置 */
@@ -42,9 +48,19 @@
                 ]
             },
             /* ios打包配置 */
-            "ios" : {},
+            "ios" : {
+                "dSYMs" : false
+            },
             /* SDK配置 */
-            "sdkConfigs" : {}
+            "sdkConfigs" : {
+                "ad" : {},
+                "geolocation" : {
+                    "system" : {
+                        "__platform__" : [ "ios", "android" ]
+                    }
+                },
+                "maps" : {}
+            }
         }
     },
     /* 快应用特有相关 */