Sfoglia il codice sorgente

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

This reverts commit c68cba82eaabdef8d5e3c8dae1146bdb315a845a.
Evan You 4 anni fa
parent
commit
951fbb197b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)
       )
     }