Browse Source

fix: 登陆完成刷新页面

cuiyalong 4 tháng trước cách đây
mục cha
commit
951cb7c064
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/web/staticres/tags/js/login-card.js

+ 2 - 1
src/web/staticres/tags/js/login-card.js

@@ -138,7 +138,8 @@ var loginCard = new Vue({
       }
       $.post("/phone/login",payload,function(r){
         if(r.status==1){
-          logic(r.userInfo, mynum);
+          location.reload()
+          // logic(r.userInfo, mynum);
         }else if(r.status==-1){
           _this.error.code = true
           _this.codeErrorText = '短信验证码输入错误'