From 583b62190a65a17d1b790c798f35024147b8fe60 Mon Sep 17 00:00:00 2001 From: okbug <1583978087@qq.com> Date: Tue, 17 Aug 2021 10:52:26 +0800 Subject: [PATCH] Update collectionHandlers.ts --- packages/reactivity/src/collectionHandlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/reactivity/src/collectionHandlers.ts b/packages/reactivity/src/collectionHandlers.ts index fe79ad9e66c..5ea878aff97 100644 --- a/packages/reactivity/src/collectionHandlers.ts +++ b/packages/reactivity/src/collectionHandlers.ts @@ -228,7 +228,7 @@ function createReadonlyMethod(type: TriggerOpTypes): Function { if (__DEV__) { const key = args[0] ? `on key "${args[0]}" ` : `` console.warn( - `${capitalize(type)} operation ${key}failed: target is readonly.`, + `${capitalize(type)} operation ${key} failed: target is readonly.`, toRaw(this) ) }