zhb 1 هفته پیش
والد
کامیت
773811a134
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      utils/openExternalUrl.js

+ 1 - 1
utils/openExternalUrl.js

@@ -13,7 +13,7 @@ export function openExternalUrl(url, type, options = {}) {
 
   if (type === 'pay') {
     // #ifdef APP-PLUS
-    const webviewUrl = `/pages/common/webview?url=${encodeURIComponent(url)}&title=${encodeURIComponent(title)}`
+    const webviewUrl = `/pages/common/webview?url=${url}&title=${encodeURIComponent(title)}`
     uni.navigateTo({ url: webviewUrl })
     // #endif