mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	登录后,返回 OAuth2 的 access token + refresh token
This commit is contained in:
		| @@ -43,7 +43,7 @@ | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| import { getToken } from "@/utils/auth"; | ||||
| import { getAccessToken } from "@/utils/auth"; | ||||
|  | ||||
| export default { | ||||
|   props: { | ||||
| @@ -79,7 +79,7 @@ export default { | ||||
|       baseUrl: process.env.VUE_APP_BASE_API, | ||||
|       uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/upload", // 上传的图片服务器地址 | ||||
|       headers: { | ||||
|         Authorization: "Bearer " + getToken(), | ||||
|         Authorization: "Bearer " + getAccessToken(), | ||||
|       }, | ||||
|       fileList: [] | ||||
|     }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV