fix(apiInject): fix stringifying of symbol injection key (#383)
This commit is contained in:
parent
134e932322
commit
7394f7ec42
@ -39,7 +39,7 @@ export function inject(
|
||||
} else if (defaultValue !== undefined) {
|
||||
return defaultValue
|
||||
} else if (__DEV__) {
|
||||
warn(`injection "${key}" not found.`)
|
||||
warn(`injection "${String(key)}" not found.`)
|
||||
}
|
||||
} else if (__DEV__) {
|
||||
warn(`inject() can only be used inside setup().`)
|
||||
|
Loading…
Reference in New Issue
Block a user