fix(compiler): exclude BAIL flag in annotations
This commit is contained in:
parent
227ad034f0
commit
4dea23f79e
@ -122,8 +122,9 @@ export const transformElement: NodeTransform = (node, context) => {
|
||||
}
|
||||
if (__DEV__) {
|
||||
const flagNames = Object.keys(PatchFlagNames)
|
||||
.filter(n => patchFlag & Number(n))
|
||||
.map(n => PatchFlagNames[n as any])
|
||||
.map(Number)
|
||||
.filter(n => n > 0 && patchFlag & n)
|
||||
.map(n => PatchFlagNames[n])
|
||||
.join(`, `)
|
||||
args.push(patchFlag + ` /* ${flagNames} */`)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user