fix: notification throw error

pull/2682/head
tanjinzhou 4 years ago
parent 925b2a8261
commit c758d88aba

@ -1 +1 @@
Subproject commit b756b4f33a902f1a919bc30b7b13d005a5277616
Subproject commit a66b25f72f00c17b976c30b6cb92db4d8c8bf993

@ -145,7 +145,7 @@ function notice(args) {
notification.notice({
content: () => (
<div class={iconNode ? `${prefixCls}-with-icon` : ''}>
{iconNode && iconNode(h)}
{iconNode && iconNode()}
<div class={`${prefixCls}-message`}>
{!description && iconNode ? (
<span class={`${prefixCls}-message-single-line-auto-margin`} />

@ -4,7 +4,7 @@
</div>
</template>
<script>
import demo from '../antdv-demo/docs/message/demo/index';
import demo from '../antdv-demo/docs/notification/demo/index';
export default {
components: {

Loading…
Cancel
Save