chore: avoid compat disabled error for built-in components
This commit is contained in:
parent
9acc9a1fa8
commit
2b5a559055
@ -502,7 +502,7 @@ export function warnDeprecation(
|
|||||||
typeof message === 'function' ? message(...args) : message
|
typeof message === 'function' ? message(...args) : message
|
||||||
}${link ? `\n Details: ${link}` : ``}`
|
}${link ? `\n Details: ${link}` : ``}`
|
||||||
)
|
)
|
||||||
if (!isCompatEnabled(key, instance)) {
|
if (!isCompatEnabled(key, instance, true)) {
|
||||||
console.error(
|
console.error(
|
||||||
`^ The above deprecation's compat behavior is disabled and will likely ` +
|
`^ The above deprecation's compat behavior is disabled and will likely ` +
|
||||||
`lead to runtime errors.`
|
`lead to runtime errors.`
|
||||||
|
Loading…
Reference in New Issue
Block a user