Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[jsfm] task center normalize for native virtual element
Browse files Browse the repository at this point in the history
  • Loading branch information
imyzf committed Jul 27, 2018
1 parent e46a720 commit af068c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/bridge/TaskCenter.js
Expand Up @@ -90,6 +90,9 @@ export class TaskCenter {
return v.map(item => this.normalize(item, true))
}
}
if (v && v.vRef && v['[[VirtualElement]]']) {
return v.vRef
}
return normalizePrimitive(v)
}

Expand Down

0 comments on commit af068c0

Please sign in to comment.