fix(compiler-dom): style transform of static styles should not add STYLE patchFlag

This commit is contained in:
Evan You
2019-10-23 10:49:16 -04:00
parent 7cd1b7fcaf
commit 113339c7b6
2 changed files with 4 additions and 1 deletions

View File

@@ -77,5 +77,7 @@ describe('compiler: style transform', () => {
}
]
})
// should not cause the STYLE patchFlag to be attached
expect((node.codegenNode as CallExpression).arguments.length).toBe(2)
})
})