VM457:1 RangeError: Maximum call stack size exceeded
at Object.set (<anonymous>)
at Object.set (reactivity.esm-bundler.js:251)
at clearTimer (toast.ts:43)
at handleChange (toast.ts:88)
at toast.ts:34
at callWithErrorHandling (runtime-core.esm-bundler.js:154)
at getter (runtime-core.esm-bundler.js:4871)
at reactiveEffect (reactivity.esm-bundler.js:42)
at Array.job (runtime-core.esm-bundler.js:4913)
at flushPostFlushCbs (runtime-core.esm-bundler.js:282)
使用 watchEffect 时,
flush
时机设置不对导致RangeError
.