Преглед изворни кода

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>