s
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -36,7 +36,7 @@ const useUserStore = defineStore( | ... | @@ -36,7 +36,7 @@ const useUserStore = defineStore( |
| 36 | data.userType = 2; | 36 | data.userType = 2; |
| 37 | // data.appKey = '691689d8e4b0f359c04d204a'; | 37 | // data.appKey = '691689d8e4b0f359c04d204a'; |
| 38 | data.validateUri = location.origin == 'http://localhost:9000' ? 'http://localhost:9000/' : location.origin + '/'; | 38 | data.validateUri = location.origin == 'http://localhost:9000' ? 'http://localhost:9000/' : location.origin + '/'; |
| 39 | return getTokenPromise.value = getTokenByCode(data).then(async (res: any) => { | 39 | return getTokenPromise.value = getTokenByCode(data).then((res: any) => { |
| 40 | getTokenPromise.value = null; | 40 | getTokenPromise.value = null; |
| 41 | console.log(res); | 41 | console.log(res); |
| 42 | if (res.code == '00000') { | 42 | if (res.code == '00000') { | ... | ... |
-
Please register or sign in to post a comment