diff --git a/packages/shared/computedWithControl/index.ts b/packages/shared/computedWithControl/index.ts index 6ebb7742696..fd45ad038a1 100644 --- a/packages/shared/computedWithControl/index.ts +++ b/packages/shared/computedWithControl/index.ts @@ -8,7 +8,7 @@ import type { Fn } from '../utils' * @param source * @param fn */ -export function computedWithControl(source: WatchSource, fn: () => T) { +export function computedWithControl(source: WatchSource | WatchSource[], fn: () => T) { let v: T = undefined! let track: Fn let trigger: Fn