|
|
|
@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
|
|
|
|
|
<Button v-bind="getBindValue" :class="getButtonClass" @click="onClick"> |
|
|
|
|
<template #default> |
|
|
|
|
<Icon :icon="preIcon" v-if="preIcon" :size="iconSize" /> |
|
|
|
|
<slot></slot> |
|
|
|
|
<slot/> |
|
|
|
|
<Icon :icon="postIcon" v-if="postIcon" :size="iconSize" /> |
|
|
|
|
</template> |
|
|
|
|
</Button> |
|
|
|
@ -27,7 +27,7 @@
@@ -27,7 +27,7 @@
|
|
|
|
|
return [ |
|
|
|
|
{ |
|
|
|
|
[`ant-btn-${color}`]: !!color, |
|
|
|
|
[`is-disabled`]: disabled, |
|
|
|
|
['is-disabled']: disabled, |
|
|
|
|
}, |
|
|
|
|
]; |
|
|
|
|
}); |
|
|
|
|