Merge pull request #3551 from He-zhiyong/patch-1

Class string error
This commit is contained in:
Aresn 2018-05-08 10:53:43 +08:00 committed by GitHub
commit 9564af89c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ function notice (type, options) {
if (type == 'normal') {
withIcon = false;
content = `
<div class="${prefixCls}-custom-content ${prefixCls}-with-normal${with_desc}">
<div class="${prefixCls}-custom-content ${prefixCls}-with-normal ${with_desc}">
<div class="${prefixCls}-title">${title}</div>
<div class="${prefixCls}-desc">${desc}</div>
</div>
@ -59,7 +59,7 @@ function notice (type, options) {
const iconType = iconTypes[type];
withIcon = true;
content = `
<div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type}${with_desc}">
<div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type} ${with_desc}">
<span class="${prefixCls}-icon ${prefixCls}-icon-${type}">
<i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i>
</span>
@ -122,4 +122,4 @@ export default {
noticeInstance = null;
instance.destroy('ivu-notice');
}
};
};