diff --git a/packages/core/computedAsync/index.ts b/packages/core/computedAsync/index.ts index 0c836c2c5f2..782abf2f28c 100644 --- a/packages/core/computedAsync/index.ts +++ b/packages/core/computedAsync/index.ts @@ -42,7 +42,7 @@ export interface AsyncComputedOptions { * Possible values: `pre`, `post`, `sync` * * It works in the same way as the flush option in watch and watch effect in vue reactivity - * @default 'pre' + * @default 'sync' */ flush?: 'pre' | 'post' | 'sync' @@ -98,7 +98,7 @@ export function computedAsync( const { lazy = false, - flush = 'pre', + flush = 'sync', evaluating = undefined, shallow = true, onError = noop,