Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj committed Jan 15, 2021
1 parent d56e3a3 commit 0966ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-runtime/src/dom/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class TaroElement extends TaroNode {
eventSource.set(value, this)
qualifiedName = 'uid'
} else {
this.props[qualifiedName] = value as string
if (qualifiedName === 'class') {
qualifiedName = Shortcuts.Class
} else if (qualifiedName.startsWith('data-')) {
Expand All @@ -108,7 +109,6 @@ export class TaroElement extends TaroNode {
value: 'static-view'
})
}
this.props[qualifiedName] = value as string
}

CurrentReconciler.setAttribute?.(this, qualifiedName, value)
Expand Down

0 comments on commit 0966ba9

Please sign in to comment.