You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-----en------
As the question suggests, the initial value of useRequest loading is false. If I need its initial value to be true, how can I adjust it;
Requirement scenario: The component uses useRequest to request onMount data, and in conjunction with Spin settings to load dynamic effects, I hope that the component can trigger Spin as soon as it is mounted, thereby eliminating page jitter effects caused by other factors;
The text was updated successfully, but these errors were encountered:
如题,useRequest loading 的初始值为 false,如果我需要他的初始值为 true,可以怎么调整;
需求场景:组件使用 useRequest 请求 onMount 数据,配合 Spin 设置加载动效,我希望组件刚挂载进去就能触发 Spin,从而排除其他因素导致的页面抖动效果;
-----en------
As the question suggests, the initial value of useRequest loading is false. If I need its initial value to be true, how can I adjust it;
Requirement scenario: The component uses useRequest to request onMount data, and in conjunction with Spin settings to load dynamic effects, I hope that the component can trigger Spin as soon as it is mounted, thereby eliminating page jitter effects caused by other factors;
The text was updated successfully, but these errors were encountered: