feat(useRequest): add parameters trigger to the options[onBefore],add skipStaleTime in refreshOptions #2369
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[English Template / 英文模板]
🤔 这个变动的性质是?
🔗 相关 Issue
close: #2359
close: #2354
💡 需求背景和解决方案
用户可能不知道本次请求来源于哪个触发器,应该在回调中告知用户
请求 useRequest 的 refresh 支持忽略 staleTime
📝 更新日志
使用ts event直接绑定refresh时会提示类型错误
☑️ 请求合并前的自查清单