🎨 add eslint
This commit is contained in:
parent
829a2e4cfc
commit
b0893113b3
88 changed files with 376 additions and 370 deletions
|
@ -87,7 +87,7 @@
|
|||
return {
|
||||
prefixCls: prefixCls,
|
||||
showTitle: true
|
||||
}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
classes () {
|
||||
|
@ -96,12 +96,12 @@
|
|||
{
|
||||
[`${prefixCls}-confirm`]: this.confirm
|
||||
}
|
||||
]
|
||||
];
|
||||
},
|
||||
styles () {
|
||||
let style = {};
|
||||
|
||||
if (!!this.width) {
|
||||
if (this.width) {
|
||||
style.width = `${this.width}px`;
|
||||
}
|
||||
return style;
|
||||
|
@ -166,5 +166,5 @@
|
|||
this.showTitle = this.$els.title.innerHTML != `<div class="${prefixCls}-title-inner"></div>`;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue