We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2.7
Vue
当 method 的缓存模式为 restore ,且使用 useRequest 配置 force 为 true 时,会跳过 l1Cache 的检查,但仍会执行 l2Cache 的检查。
restore
useRequest
force
true
l1Cache
l2Cache
根据阅读文档的理解,预期应该跳过所有的缓存检查。
No response
const method = alovaInst.Get('/user/profile', { // ... cacheFor: { mode: 'restore', expire: 1000 * 60 * 60 * 24 } }) useRequest(method, { { force: true } });
The text was updated successfully, but these errors were encountered:
👍🏼 感谢,已复现!应该是漏了条件
Sorry, something went wrong.
MeetinaXD
No branches or pull requests
这是否是一个 Bug?
这个问题是否已经存在?
Alova 版本
3.2.7
前端框架
Vue
问题描述
当 method 的缓存模式为
restore
,且使用useRequest
配置force
为true
时,会跳过l1Cache
的检查,但仍会执行l2Cache
的检查。期望的表现
根据阅读文档的理解,预期应该跳过所有的缓存检查。
复现链接
No response
复现步骤
系统信息
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: