Skip to content

Commit

Permalink
[jsfm] change vRef to ref
Browse files Browse the repository at this point in the history
  • Loading branch information
imyzf authored and Hanks10100 committed Jul 30, 2018
1 parent 267346a commit c223f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/bridge/TaskCenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export class TaskCenter {
return v.map(item => this.normalize(item, true))
}
}
if (v && v.vRef && v['[[VirtualElement]]']) {
return v.vRef
if (v && v.ref && v['[[VirtualElement]]']) {
return v.ref
}
return normalizePrimitive(v)
}
Expand Down

0 comments on commit c223f0d

Please sign in to comment.