From 51cd100df3d79f8f499dfc2f04bcbc1513a119dc Mon Sep 17 00:00:00 2001 From: ShanaMaid Date: Fri, 26 Oct 2018 10:50:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0id=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/template/component.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/template/component.tsx b/components/template/component.tsx index 1c3acc0..81f2bdd 100644 --- a/components/template/component.tsx +++ b/components/template/component.tsx @@ -24,6 +24,10 @@ export interface IBaseComponent extends IEvent { * 附加额外的 class */ className?: string; + /** + * 附加id + */ + id?: string; /** * 附加额外的样式 */