Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Apr 22, 2024
1 parent 9104300 commit 88a4a30
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/compiler-core/src/transforms/transformElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -618,12 +618,13 @@ export function buildProps(
if (isVBind) {
// if in v-bind object will have a ref we should set ref_for to true
// otherwise the ref will be set to a random element in the list
if (hasVFor) properties.push(
createObjectProperty(
createSimpleExpression('ref_for', true),
createSimpleExpression('true'),
),
)
if (hasVFor)
properties.push(
createObjectProperty(
createSimpleExpression('ref_for', true),
createSimpleExpression('true'),
),
)
// have to merge early for compat build check
pushMergeArg()
if (__COMPAT__) {
Expand Down

0 comments on commit 88a4a30

Please sign in to comment.