From 3a2e20eb5271e5391c5902b48e0f7154ca284a34 Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 5 Jul 2020 15:59:36 +0800 Subject: [PATCH] fix(Icon): default slot --- src-next/icon/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-next/icon/index.js b/src-next/icon/index.js index 35721b637..36314bc25 100644 --- a/src-next/icon/index.js +++ b/src-next/icon/index.js @@ -43,7 +43,7 @@ export default createComponent({ fontSize: addUnit(this.size), }} > - {/* {slots.default && slots.default()} */} + {this.$slots.default?.()} {imageIcon && }