|
|
@@ -132,7 +132,6 @@ export default { |
|
|
|
this.LOADING("加载中...") |
|
|
|
this.HTTP_POST("weixinapi/getweixinaccess_token?code="+this.code,null).then(success=>{ |
|
|
|
this.HIDE_LOADING() |
|
|
|
return |
|
|
|
if(!success){ |
|
|
|
location.href = "http://" + window.location.host; |
|
|
|
return |
|
|
@@ -143,7 +142,6 @@ export default { |
|
|
|
token: success.baseinfo.token, |
|
|
|
date: moment().format('yyyy-MM-dd hh:mm:ss') |
|
|
|
}; |
|
|
|
this.ready = true |
|
|
|
this.SET_STORAGE("token",success.baseinfo.token) |
|
|
|
// this.SET_STORAGE("logininfo",logininfo) |
|
|
|
// this.SET_STORAGE("userinfo",success) |
|
|
|