mirror of https://github.com/vuejs/core.git
fix(compiler-sfc): enable props destructure when reactivity transform option is enabled
...to retain backwards compatible behavior before removal
This commit is contained in:
parent
cc09cc7e28
commit
862edfd91a
|
@ -27,7 +27,7 @@ export function processPropsDestructure(
|
|||
ctx: ScriptCompileContext,
|
||||
declId: ObjectPattern
|
||||
) {
|
||||
if (!ctx.options.propsDestructure) {
|
||||
if (!ctx.options.propsDestructure && !ctx.options.reactivityTransform) {
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue