fix(compiler-sfc): treat const reactive() bindings as mutable
This commit is contained in:
@@ -79,7 +79,7 @@ export const transformFor = createStructuralDirectiveTransform(
|
||||
|
||||
const isStableFragment =
|
||||
forNode.source.type === NodeTypes.SIMPLE_EXPRESSION &&
|
||||
forNode.source.constType > ConstantTypes.CAN_SKIP_PATCH
|
||||
forNode.source.constType > ConstantTypes.NOT_CONSTANT
|
||||
const fragmentFlag = isStableFragment
|
||||
? PatchFlags.STABLE_FRAGMENT
|
||||
: keyProp
|
||||
|
||||
Reference in New Issue
Block a user