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