mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-11-04 20:28:45 +08:00 
			
		
		
		
	!170 Expiration time should not set on the refresh token
Merge pull request !170 from 呵呵大/N/A
This commit is contained in:
		@@ -20,7 +20,7 @@ export const getRefreshToken = () => {
 | 
			
		||||
 | 
			
		||||
// 设置token
 | 
			
		||||
export const setToken = (token: TokenType) => {
 | 
			
		||||
  wsCache.set(RefreshTokenKey, token.refreshToken, { exp: token.expiresTime })
 | 
			
		||||
  wsCache.set(RefreshTokenKey, token.refreshToken)
 | 
			
		||||
  wsCache.set(AccessTokenKey, token.accessToken)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user