style:测试
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -43,6 +43,7 @@ router.beforeEach(async (to, from, next) => { | ... | @@ -43,6 +43,7 @@ router.beforeEach(async (to, from, next) => { |
| 43 | 'service': locationUrl | 43 | 'service': locationUrl |
| 44 | } | 44 | } |
| 45 | }).then(async (res) => { | 45 | }).then(async (res) => { |
| 46 | console.log(res, 'resresres'); | ||
| 46 | if (process.env.NODE_ENV === 'development') { | 47 | if (process.env.NODE_ENV === 'development') { |
| 47 | localStorage.setItem('token', res.data.content.accessToken) | 48 | localStorage.setItem('token', res.data.content.accessToken) |
| 48 | } else { | 49 | } else { | ... | ... |
-
Please register or sign in to post a comment