소스 검색

Merge branch 'dev2.8.5' of http://192.168.3.207:10080/qmx/jy into dev2.8.5

xuzhiheng 5 년 전
부모
커밋
793f983d89
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/web/templates/weixin/vipsubscribe/vip_introduce.html

+ 5 - 0
src/web/templates/weixin/vipsubscribe/vip_introduce.html

@@ -136,6 +136,11 @@
     <script src="/vipsubscribe/js/share.js?v={{Msg "seo" "version"}}"></script>
     <script>
       initShare({{.T.signature}});
+      window.onpageshow = function(event) {
+        if (event.persisted) {
+          window.location.reload()
+        }
+      };
     </script>
 </body>
 </html>