diff --git a/src/components/divider/divider.vue b/src/components/divider/divider.vue index c620f95..844bed0 100644 --- a/src/components/divider/divider.vue +++ b/src/components/divider/divider.vue @@ -35,8 +35,7 @@ export default { }, computed: { hasSlot() { - if(this.$slots.default) return true; - else return false; + return !!this.$slots.default; }, classes() { return [ -- libgit2 0.21.4