update Button style
This commit is contained in:
parent
aaa7e9927c
commit
df6bf15242
4 changed files with 122 additions and 60 deletions
|
@ -61,12 +61,10 @@
|
|||
default: false
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
showSlot: true
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
showSlot () {
|
||||
return !!this.$slots.default;
|
||||
},
|
||||
classes () {
|
||||
return [
|
||||
`${prefixCls}`,
|
||||
|
@ -109,9 +107,6 @@
|
|||
|
||||
this.handleCheckClick(event, openInNewWindow);
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.showSlot = this.$slots.default !== undefined;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue