Explorar el Código

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

okbug hace 4 años
padre
commit
c68cba82ea
Se han modificado 1 ficheros con 1 adiciones y 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)
       )
     }