This commit is contained in:
AntoXa PRO 2023-10-10 13:47:49 +03:00
parent 1d3ff30ded
commit 86f60998d3

View File

@ -46,9 +46,9 @@ const cssClass = computed(() => {
:is="props.to ? 'router-link' : 'button'" :is="props.to ? 'router-link' : 'button'"
:to="props.to" :to="props.to"
:type="props.type" :type="props.type"
@click="clickHandler"
:class="cssClass" :class="cssClass"
:disabled="props.disabled" :disabled="props.disabled"
@click="clickHandler"
> >
<ui-icon v-if="props.icon" :name="props.icon" /> <ui-icon v-if="props.icon" :name="props.icon" />
<div v-if="props.label" class="label">{{ props.label }}</div> <div v-if="props.label" class="label">{{ props.label }}</div>