fix: notification throw error
parent
925b2a8261
commit
c758d88aba
|
@ -1 +1 @@
|
||||||
Subproject commit b756b4f33a902f1a919bc30b7b13d005a5277616
|
Subproject commit a66b25f72f00c17b976c30b6cb92db4d8c8bf993
|
|
@ -145,7 +145,7 @@ function notice(args) {
|
||||||
notification.notice({
|
notification.notice({
|
||||||
content: () => (
|
content: () => (
|
||||||
<div class={iconNode ? `${prefixCls}-with-icon` : ''}>
|
<div class={iconNode ? `${prefixCls}-with-icon` : ''}>
|
||||||
{iconNode && iconNode(h)}
|
{iconNode && iconNode()}
|
||||||
<div class={`${prefixCls}-message`}>
|
<div class={`${prefixCls}-message`}>
|
||||||
{!description && iconNode ? (
|
{!description && iconNode ? (
|
||||||
<span class={`${prefixCls}-message-single-line-auto-margin`} />
|
<span class={`${prefixCls}-message-single-line-auto-margin`} />
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import demo from '../antdv-demo/docs/message/demo/index';
|
import demo from '../antdv-demo/docs/notification/demo/index';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in New Issue