页面总是重复登录4次 #57

Closed
opened 2025-01-07 12:51:33 +08:00 by liangyuanpeng · 2 comments
  1. 预期只登录一次
  2. 本地token有效不应该再登录

image

1. 预期只登录一次 2. 本地token有效不应该再登录 ![image](/attachments/4f449102-6595-45d3-86ff-af2e0b3ffb9a)
liangyuanpeng added the
bug
label 2025-01-07 12:51:33 +08:00
jeff was assigned by liangyuanpeng 2025-01-07 12:51:33 +08:00
Author
Owner

对接 https://gitea.yunhorn.com/smartoilets-front/projects/issues/51 后就可以知道token的有效期,每次打开页面通过时间戳检查token是否有效,如果过期了则立刻登录一次,达到页面只请求一次的效果

对接 https://gitea.yunhorn.com/smartoilets-front/projects/issues/51 后就可以知道token的有效期,每次打开页面通过时间戳检查token是否有效,如果过期了则立刻登录一次,达到页面只请求一次的效果
Owner

#51 一起处理了, 现在这里应该不会重复请求了。

#51 一起处理了, 现在这里应该不会重复请求了。
jeff added the
done-waiting-confirmed
label 2025-01-10 00:47:44 +08:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: smartoilets-front/projects#57
No description provided.