diff --git a/packages/reactivity/src/computed.ts b/packages/reactivity/src/computed.ts index b941af4..a26943c 100644 --- a/packages/reactivity/src/computed.ts +++ b/packages/reactivity/src/computed.ts @@ -5,9 +5,10 @@ import { trackRefValue, triggerRefValue } from "./ref"; export class ComputedRefImpl { public dep: any; public effect: ReactiveEffect; + public readonly __v_isRef = true; private _dirty: boolean; - private _value + private _value; constructor(getter) { this._dirty = true;