diff --git a/packages/runtime-core/src/compat/compatConfig.ts b/packages/runtime-core/src/compat/compatConfig.ts index a6ab9854bbe..05ecc3e72ea 100644 --- a/packages/runtime-core/src/compat/compatConfig.ts +++ b/packages/runtime-core/src/compat/compatConfig.ts @@ -398,9 +398,10 @@ export const deprecationData: Record = { DeprecationTypes.COMPONENT_V_MODEL }: false }\`.` if ( - comp.props && isArray(comp.props) + comp.props && + (isArray(comp.props) ? comp.props.includes('modelValue') - : hasOwn(comp.props, 'modelValue') + : hasOwn(comp.props, 'modelValue')) ) { return ( `Component delcares "modelValue" prop, which is Vue 3 usage, but ` +