Explorar o código

chore: add missing space in warning message (#4359) [ci skip]

okbug %!s(int64=4) %!d(string=hai) anos
pai
achega
c68cba82ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/reactivity/src/collectionHandlers.ts

+ 1 - 1
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)
       )
     }