fix: button classname error
parent
75e4b72c21
commit
94c2887c81
|
@ -85,8 +85,8 @@ export default defineComponent({
|
|||
return {
|
||||
[hashId.value]: true,
|
||||
[`${pre}`]: true,
|
||||
[`${pre}-${type}`]: type,
|
||||
[`${pre}-${shape}`]: shape !== 'default' && shape,
|
||||
[`${pre}-${type}`]: type,
|
||||
[`${pre}-${sizeCls}`]: sizeCls,
|
||||
[`${pre}-loading`]: innerLoading.value,
|
||||
[`${pre}-background-ghost`]: ghost && !isUnBorderedButtonType(type),
|
||||
|
@ -177,7 +177,6 @@ export default defineComponent({
|
|||
if (!disabled) {
|
||||
delete buttonProps.disabled;
|
||||
}
|
||||
|
||||
const iconNode =
|
||||
icon && !innerLoading.value ? (
|
||||
icon
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
@import '../../input/style/mixin';
|
||||
@import '../../button/style/mixin';
|
||||
@import '../../grid/style/mixin';
|
||||
@import './components';
|
||||
@import './inline';
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
@import '../../input/style/mixin';
|
||||
@import '../../button/style/mixin';
|
||||
@import '../../grid/style/mixin';
|
||||
|
||||
@form-prefix-cls: ~'@{ant-prefix}-form';
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
@import '../../style/themes/index';
|
||||
@import '../../style/mixins/index';
|
||||
@import '../../button/style/mixin';
|
||||
@import './mixin';
|
||||
|
||||
@search-prefix: ~'@{ant-prefix}-input-search';
|
||||
|
|
Loading…
Reference in New Issue