浏览代码

修改地址

dufeng 3 月之前
父节点
当前提交
46e313f7b6
共有 3 个文件被更改,包括 24 次插入20 次删除
  1. 22 18
      .hbuilderx/launch.json
  2. 1 1
      pages/webViews/webViews.vue
  3. 1 1
      utils/config.js

+ 22 - 18
.hbuilderx/launch.json

@@ -1,20 +1,24 @@
-{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
-  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
-    "version": "0.0",
-    "configurations": [{
-     	"app-plus" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"default" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"mp-weixin" : 
-     	{
-     		"launchtype" : "local"
-     	},
-     	"type" : "uniCloud"
-     }
+{
+    // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+    // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version" : "0.0",
+    "configurations" : [
+        {
+            "app-plus" : {
+                "launchtype" : "local"
+            },
+            "default" : {
+                "launchtype" : "local"
+            },
+            "mp-weixin" : {
+                "launchtype" : "local"
+            },
+            "type" : "uniCloud"
+        },
+        {
+            "customPlaygroundType" : "device",
+            "playground" : "standard",
+            "type" : "uni-app:app-android"
+        }
     ]
 }

+ 1 - 1
pages/webViews/webViews.vue

@@ -128,7 +128,7 @@ export default {
 			}
 			urlParams += `&uuid=${this.getUuid()}`
 			urlParams = urlParams.replace('&', '')
-			this.src = `${this.webviewServer}/mobile/?${urlParams}`
+			this.src = `${this.webviewServer}/mobile/pages/attachedVessel/index/?${urlParams}`
 			console.log('webview地址', this.src)
 		},
 		getLocation() {

+ 1 - 1
utils/config.js

@@ -4,7 +4,7 @@ const {PLATFORM} = env
 
 // #ifdef H5
 // const url_all = { 'DEV': '/dev-api', 'BUILD': '' }	 // h5配置
-const url_all = { 'DEV': 'http://61.53.66.104:8011', 'BUILD': '' }	 // h5配置
+const url_all = { 'DEV': 'https://yhdd.dasongyuhe.com', 'BUILD': '' }	 // h5配置
 let protocol = window.location.protocol;
 if (protocol === "https:") {
     protocol = "wss:";