Browse Source

简化Safari浏览器支付页面打开逻辑,移除多余注释,提升代码可读性。

wuyi 2 tháng trước cách đây
mục cha
commit
554c7426b1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/VideoPlayer.vue

+ 1 - 1
src/views/VideoPlayer.vue

@@ -715,7 +715,7 @@ const openPaymentPage = (url: string) => {
   const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
 
   if (isSafari) {
-    // Safari浏览器:使用location.href跳转
+    // Safari浏览器
     setTimeout(() => window.open(url, "_blank"));
     // window.location.href = url;
   } else {