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