Skip to content

Commit

Permalink
fix(taro-tt): ref绑定报错 (#4120)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanQuan authored and luckyadam committed Aug 12, 2019
1 parent 4a9f79d commit 283f448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-tt/src/create-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export function componentTrigger (component, key, args) {
if (ref.type === 'component') {
component.$scope.selectComponent(`#${ref.id}`, target => {
resolve({
target: target.$component || target,
target: target ? target.$component || target : null,
ref
})
})
Expand Down

0 comments on commit 283f448

Please sign in to comment.