wip: component v-model compat

This commit is contained in:
Evan You
2021-04-09 23:10:29 -04:00
parent f05d6dfd98
commit 183f9b0013
6 changed files with 120 additions and 6 deletions

View File

@@ -348,7 +348,7 @@ function resolvePropValue(
value = propsDefaults[key] = defaultValue.call(
__COMPAT__ &&
__DEV__ &&
isCompatEnabled(DeprecationTypes.PROPS_DEFAULT_THIS)
isCompatEnabled(DeprecationTypes.PROPS_DEFAULT_THIS, instance)
? createPropsDefaultThis(key)
: null,
props