From: Lory Lee <27952106@qq.com> Date: Tue, 13 Oct 2020 20:18:22 +0000 (+0800) Subject: chore: add missing space in warning message (#2266) [ci skip] X-Git-Tag: v3.0.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b8cf998c458afeaee69ce9dc77a0d9abe8bf9a9;p=thirdparty%2Fvuejs%2Fcore.git chore: add missing space in warning message (#2266) [ci skip] --- diff --git a/packages/reactivity/src/collectionHandlers.ts b/packages/reactivity/src/collectionHandlers.ts index 93d09770c9..913cd71f82 100644 --- a/packages/reactivity/src/collectionHandlers.ts +++ b/packages/reactivity/src/collectionHandlers.ts @@ -350,7 +350,7 @@ function checkIdentityKeys( const type = toRawType(target) console.warn( `Reactive ${type} contains both the raw and reactive ` + - `versions of the same object${type === `Map` ? `as keys` : ``}, ` + + `versions of the same object${type === `Map` ? ` as keys` : ``}, ` + `which can lead to inconsistencies. ` + `Avoid differentiating between the raw and reactive versions ` + `of an object and only use the reactive version if possible.`