fix: button classname error

pull/6213/head
tangjinzhou 2023-01-26 22:13:01 +08:00
parent 75e4b72c21
commit 94c2887c81
4 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -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';

View File

@ -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';

View File

@ -1,6 +1,5 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import '../../button/style/mixin';
@import './mixin';
@search-prefix: ~'@{ant-prefix}-input-search';