File tree 2 files changed +3
-15
lines changed
2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ const Empty = {
51
51
{ imageNode }
52
52
</ div >
53
53
{ des && < p class = { `${ prefixCls } -description` } > { des } </ p > }
54
- { this . $slots . default && < div class = { `${ prefixCls } -footer` } > { this . $slots . default } </ div > }
54
+ { this . $slots . default && < div class = { `${ prefixCls } -footer` } > { this . $slots . default ( ) } </ div > }
55
55
</ div >
56
56
) ;
57
57
} ,
58
58
} ,
59
59
render ( ) {
60
- return < LocaleReceiver componentName = "Empty" scopedSlots = { { default : this . renderEmpty } } /> ;
60
+ return < LocaleReceiver componentName = "Empty" children = { this . renderEmpty } /> ;
61
61
} ,
62
62
} ;
63
63
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div >
3
- <a-alert message =" Warning text" banner />
4
- <br />
5
- <a-alert
6
- message =" Very long warning text warning text text text text text text text"
7
- banner
8
- closable
9
- />
10
- <br />
11
- <a-alert :show-icon =" false" message =" Warning text without icon" banner />
12
- <br />
13
- <a-alert type =" error" message =" Error text" banner />
14
- </div >
2
+ <a-empty />
15
3
</template >
You can’t perform that action at this time.
0 commit comments