Преглед на файлове

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>