]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: add missing space in warning message (#2266) [ci skip]
authorLory Lee <27952106@qq.com>
Tue, 13 Oct 2020 20:18:22 +0000 (04:18 +0800)
committerGitHub <noreply@github.com>
Tue, 13 Oct 2020 20:18:22 +0000 (16:18 -0400)
packages/reactivity/src/collectionHandlers.ts

index 93d09770c9a684491fbd43fc7a1daf5e6c0eabce..913cd71f82b23326ef4be31b2b0dfe6d890fed79 100644 (file)
@@ -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.`