wesmiler 6 лет назад
Родитель
Сommit
2ea674dbb3
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      public/static/weixin/js/common.js

+ 6 - 0
public/static/weixin/js/common.js

@@ -65,6 +65,12 @@ function showAlert(msg, url){
         text: msg,
         buttons: [
             {
+                text: "退出登录",
+                onClick: function () {
+                    location.href = '/weixin/login/logout';
+                }
+            },
+            {
                 text: "确定",
                 onClick: function () {
                     location.href = url;