Commit 9564af89c9c06be3529a4d9095930993b2b275ab
Committed by
GitHub
Merge pull request #3551 from He-zhiyong/patch-1
Class string error
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/components/notice/index.js
| ... | ... | @@ -50,7 +50,7 @@ function notice (type, options) { |
| 50 | 50 | if (type == 'normal') { |
| 51 | 51 | withIcon = false; |
| 52 | 52 | content = ` |
| 53 | - <div class="${prefixCls}-custom-content ${prefixCls}-with-normal${with_desc}"> | |
| 53 | + <div class="${prefixCls}-custom-content ${prefixCls}-with-normal ${with_desc}"> | |
| 54 | 54 | <div class="${prefixCls}-title">${title}</div> |
| 55 | 55 | <div class="${prefixCls}-desc">${desc}</div> |
| 56 | 56 | </div> |
| ... | ... | @@ -59,7 +59,7 @@ function notice (type, options) { |
| 59 | 59 | const iconType = iconTypes[type]; |
| 60 | 60 | withIcon = true; |
| 61 | 61 | content = ` |
| 62 | - <div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type}${with_desc}"> | |
| 62 | + <div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type} ${with_desc}"> | |
| 63 | 63 | <span class="${prefixCls}-icon ${prefixCls}-icon-${type}"> |
| 64 | 64 | <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i> |
| 65 | 65 | </span> |
| ... | ... | @@ -122,4 +122,4 @@ export default { |
| 122 | 122 | noticeInstance = null; |
| 123 | 123 | instance.destroy('ivu-notice'); |
| 124 | 124 | } |
| 125 | -}; | |
| 126 | 125 | \ No newline at end of file |
| 126 | +}; | ... | ... |