feat: 登录用户信息缓存
This commit is contained in:
@@ -33,8 +33,8 @@ class Request {
|
||||
// 后端返回字符串表示需要解密操作
|
||||
// if (typeof response.data == "string") {
|
||||
// response.data = DecryptData(response.data);
|
||||
// if (!response.data.code && response.data.code !== 200) {
|
||||
// message.error(response.data.message).then();
|
||||
// if (response.status !== 200) {
|
||||
// message.error(response.statusText).then();
|
||||
// return Promise.reject(response.data);
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user