浏览代码

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>