Browse Source

应用名

hzh 5 months ago
parent
commit
469db18c35
2 changed files with 5 additions and 4 deletions
  1. 4 3
      manifest.json
  2. 1 1
      modifyManifest.js

+ 4 - 3
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "企事业车辆管理系统",
+    "name" : "巡逻鹰GPS",
     "appid" : "__UNI__C20958D",
     "description" : "",
     "versionName" : "1.0.0",
@@ -38,7 +38,8 @@
                     "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
                     "<uses-feature android:name=\"android.hardware.camera\"/>",
                     "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
-                ]
+                ],
+                "targetSdkVersion" : 30
             },
             /* ios打包配置 */
             "ios" : {
@@ -129,6 +130,6 @@
             }
         },
         "template" : "index.html",
-        "title" : "企事业车辆管理系统"
+        "title" : "巡逻鹰GPS"
     }
 }

+ 1 - 1
modifyManifest.js

@@ -43,7 +43,7 @@ function replaceManifest(path, value) {
 // 动态配置appid
 if (PLATFORM === "enterprises") {
   // 企事业
-  let title = '"企事业车辆管理系统"'
+  let title = '"巡逻鹰GPS"'
   replaceManifest("name", title);
   replaceManifest("h5.router.base", '"/mobile/"');
   replaceManifest("h5.title", title);