parent
61bf98e641
commit
95cae149c4
|
@ -175,6 +175,10 @@ export default defineComponent({
|
||||||
],
|
],
|
||||||
onClick: handleClick,
|
onClick: handleClick,
|
||||||
};
|
};
|
||||||
|
// https://github.com/vueComponent/ant-design-vue/issues/4930
|
||||||
|
if (!disabled) {
|
||||||
|
delete buttonProps.disabled;
|
||||||
|
}
|
||||||
|
|
||||||
const iconNode = innerLoading.value ? <LoadingOutlined /> : icon;
|
const iconNode = innerLoading.value ? <LoadingOutlined /> : icon;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue