memos
memos copied to clipboard
0.12.0 每日回顾重复请求 /api/memo?rowStatus=NORMAL&limit=20
Describe the bug
Steps to reproduce
- 选择每日回顾
- 选择前一天
- 前端开始无限制重复请求
- 刷新页面可以停止, 点击其他位置不能, 还会加剧请求频率
Screenshots or additional context
docker 环境
Issue is not in English. It has been translated automatically.
Title: 0.12.0 Daily review repeat request /api/memo?rowStatus=NORMAL&limit=20
我这儿没问题,你试下关闭一些扩展看看
Issue is not in English. It has been translated automatically.
I have no problem here, try disabling some extensions
我在无扩展的情况也试过了, 还是同样的问题. 并且还发现一个现象, 在主页中筛选会重复请求的一天, 这里调用的接口有偏移量(offset
)参数, 但是在每日回顾里只是重复请求. 是否为这个原因, 遗忘了偏移量的添加
Issue is not in English. It has been translated automatically.
I also tried it without the extension, and it still has the same problem. I also found a phenomenon that the filter on the homepage will repeat the requested day, and the interface called here has an offset (offset
) parameter, but in every In the daily review, the request is just repeated. Is it for this reason, the addition of the offset is forgotten
相似的bug
Issue is not in English. It has been translated automatically.
similar bug
应该是 memos/web/src/pages/DailyReview.tsx 中 useEffect 函数导致的
Issue is not in English. It has been translated automatically.
It should be caused by the useEffect function in memos/web/src/pages/DailyReview.tsx. It is not clear how to trigger it
Maybe fixed in the recent release. Feel free to open a new issue if it still existed.