diff --git a/packages/reactivity/src/computed.ts b/packages/reactivity/src/computed.ts index 9cae1b26e3a..afb7aa70d67 100644 --- a/packages/reactivity/src/computed.ts +++ b/packages/reactivity/src/computed.ts @@ -38,9 +38,9 @@ export class ComputedRefImpl { public readonly [ReactiveFlags.IS_READONLY]: boolean = false public _dirty = true - public _computedsToAskDirty: ComputedRefImpl[] = [] public _cacheable: boolean + private _computedsToAskDirty: ComputedRefImpl[] = [] private _triggeredAfterLastEffect = false constructor(