huangjianlei 1 жил өмнө
parent
commit
70da40d322

+ 3 - 3
pages/learn/index.vue

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