Ver Fonte

修改h5域名

huangjianlei há 1 ano atrás
pai
commit
70da40d322
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      pages/learn/index.vue

+ 3 - 3
pages/learn/index.vue

@@ -914,7 +914,7 @@
 								})
 								// #endif
 								// #ifdef MP-WEIXIN
-								webViewUrl = encodeURIComponent('http://192.168.1.213:8080' +
+								webViewUrl = encodeURIComponent(res.data.data.domain +
 									'/pages3/polyv/detail?obj=' +
 									JSON.stringify(obj))
 								uni.navigateTo({
@@ -1074,7 +1074,7 @@
 										// #endif
 										// #ifdef MP-WEIXIN
 										webViewUrl = encodeURIComponent(
-											'http://192.168.1.213:8080' +
+											res.data.data.domain +
 											'/pages3/polyv/detail?obj=' +
 											JSON.stringify(obj))
 										uni.navigateTo({
@@ -1115,7 +1115,7 @@
 										// #endif
 										// #ifdef MP-WEIXIN
 										webViewUrl = encodeURIComponent(
-											'http://192.168.1.213:8080' +
+											res.data.data.domain +
 											'/pages3/polyv/detail?obj=' +
 											JSON.stringify(obj))
 										uni.navigateTo({