Skip to content

Commit

Permalink
fix: fix divider component lag problem
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangweb committed Mar 10, 2022
1 parent 5da54d7 commit 1f88df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-vue2-ui/src/divider/Divider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default defineComponent({
methods: {
checkHasText() {
this.withText = this.hasSlots() || Boolean(props.description)
this.withText = Boolean(this.hasSlots('default')) || Boolean(this.description)
},
},
})
Expand Down

0 comments on commit 1f88df0

Please sign in to comment.