no need to covert to boolean
This commit is contained in:
parent
670cbfdd1c
commit
3b9ab0e343
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<button :disabled="progress || disabled" @click="onClick">
|
<button :disabled="progress || disabled" @click="onClick">
|
||||||
<template v-if="progress && !!$slots.progress">
|
<template v-if="progress && $slots.progress">
|
||||||
<slot name="progress" />
|
<slot name="progress" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
|
|
Loading…
Reference in New Issue