Просмотр исходного кода

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

xuzhiheng 5 лет назад
Родитель
Сommit
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>