From 8932133e2ee2e5708e3506bee3d01d59bff5f1d2 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期日, 12 一月 2025 11:30:52 +0800
Subject: [PATCH] bug
---
wx/pages/webView/webView.vue | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/wx/pages/webView/webView.vue b/wx/pages/webView/webView.vue
index 7080e93..8100fe4 100644
--- a/wx/pages/webView/webView.vue
+++ b/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>
--
Gitblit v1.9.3