feat(compiler): force dynamicSlots flag when inside v-for or v-slot

This commit is contained in:
Evan You
2019-10-03 16:27:46 -04:00
parent 4dea23f79e
commit c2fc7e3347
6 changed files with 73 additions and 16 deletions

View File

@@ -49,10 +49,10 @@ export function baseCompile(
? [
// order is important
trackVForSlotScopes,
transformExpression,
trackSlotScopes
transformExpression
]
: []),
trackSlotScopes,
optimizeText,
transformStyle,
transformSlotOutlet,