Explorar o código

分享页url需要编码,否者参数可能出现问题

lifanagju_citu hai 5 meses
pai
achega
307a38784d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/addWebView/index.vue

+ 1 - 1
pages/addWebView/index.vue

@@ -19,7 +19,7 @@ onLoad((options) => {
   onShareAppMessage(() => {
     return {
       title: options?.title || '门墩儿 专注顶尖招聘',
-      path: '/pages/addWebView/index?url=' + url.value
+      path: '/pages/addWebView/index?url=' + encodeURIComponent(url.value)
     }
   })
 })