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

This commit is contained in:
okbug 2021-08-17 23:28:33 +08:00 committed by GitHub
parent 644971ec06
commit c68cba82ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
)
}