From 0966ba9fe6374fe695ac0e5e75909003d7f8ceb8 Mon Sep 17 00:00:00 2001 From: chenjiajian <798095202@qq.com> Date: Fri, 15 Jan 2021 21:19:07 +0800 Subject: [PATCH] fix: ci --- packages/taro-runtime/src/dom/element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro-runtime/src/dom/element.ts b/packages/taro-runtime/src/dom/element.ts index fad70dd7c296..66194c93b8e5 100644 --- a/packages/taro-runtime/src/dom/element.ts +++ b/packages/taro-runtime/src/dom/element.ts @@ -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-')) { @@ -108,7 +109,6 @@ export class TaroElement extends TaroNode { value: 'static-view' }) } - this.props[qualifiedName] = value as string } CurrentReconciler.setAttribute?.(this, qualifiedName, value)