fix(compiler-dom): style transform of static styles should not add STYLE patchFlag
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user