Commit 1d4d584c by 梁建民

js

parent bc810be1
Showing with 1 additions and 1 deletions
......@@ -270,7 +270,7 @@
if (res.err_code === 0) {
//注入token
Util.setCookie('token', res.access_token, 1, cookieHostname);
Util.setCookie('token', res.data.access_token, 1, cookieHostname);
window.location.href = home_url + '/homes';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment