guoziyun 10 mesi fa
parent
commit
3b0e3f9a62
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      views/v2/share-simple.ejs

+ 1 - 1
views/v2/share-simple.ejs

@@ -433,10 +433,10 @@
       }
 
       // 微信环境相关
+      const wechatGuideOverlay = document.getElementById('wechat-guide-overlay');
       function closeOverlay() {
         wechatGuideOverlay.classList.remove('active');
       }
-      const wechatGuideOverlay = document.getElementById('wechat-guide-overlay');
       if (isWeChatBrowser) {
         wechatGuideOverlay.classList.add('active');
         return; // 微信浏览器直接返回,不执行后续自动跳转逻辑