mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08:00
fix: Turn off SWR automatic revalidation when window is focused (#3129)
Co-authored-by: mazhanwen <mazhanwen@tal.com>
This commit is contained in:
@@ -32,6 +32,7 @@ const SwrInitor = ({
|
||||
? (
|
||||
<SWRConfig value={{
|
||||
shouldRetryOnError: false,
|
||||
revalidateOnFocus: false,
|
||||
}}>
|
||||
{children}
|
||||
</SWRConfig>
|
||||
|
||||
Reference in New Issue
Block a user