Commit 9564af89c9c06be3529a4d9095930993b2b275ab

Authored by Aresn
Committed by GitHub
2 parents 0db58717 ab26fdc6

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,7 +50,7 @@ function notice (type, options) {
50 if (type == 'normal') { 50 if (type == 'normal') {
51 withIcon = false; 51 withIcon = false;
52 content = ` 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 <div class="${prefixCls}-title">${title}</div> 54 <div class="${prefixCls}-title">${title}</div>
55 <div class="${prefixCls}-desc">${desc}</div> 55 <div class="${prefixCls}-desc">${desc}</div>
56 </div> 56 </div>
@@ -59,7 +59,7 @@ function notice (type, options) { @@ -59,7 +59,7 @@ function notice (type, options) {
59 const iconType = iconTypes[type]; 59 const iconType = iconTypes[type];
60 withIcon = true; 60 withIcon = true;
61 content = ` 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 <span class="${prefixCls}-icon ${prefixCls}-icon-${type}"> 63 <span class="${prefixCls}-icon ${prefixCls}-icon-${type}">
64 <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i> 64 <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i>
65 </span> 65 </span>
@@ -122,4 +122,4 @@ export default { @@ -122,4 +122,4 @@ export default {
122 noticeInstance = null; 122 noticeInstance = null;
123 instance.destroy('ivu-notice'); 123 instance.destroy('ivu-notice');
124 } 124 }
125 -};  
126 \ No newline at end of file 125 \ No newline at end of file
  126 +};