wx/pages/webView/webView.vue
@@ -1,6 +1,6 @@ <template> <scroll-view scroll-y class="box"> <web-view :src="url"></web-view> <web-view :src="address"></web-view> </scroll-view> </template> @@ -8,11 +8,11 @@ export default { data() { return { url: '' address: '' }; }, onLoad(option) { this.url = option.url this.address = decodeURIComponent(option.url) } } </script>