wesmiler 6 년 전
부모
커밋
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;