Skip to content

Commit

Permalink
revert(cell): revert attr position
Browse files Browse the repository at this point in the history
This reverts commit a86a370.
  • Loading branch information
BeADre committed Mar 9, 2021
1 parent 165c2e8 commit 01b690f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/varlet-ui/src/cell/Cell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<var-icon :name="icon" />
</slot>
</div>
<div class="var-cell__content" v-bind="$attrs">
<div class="var-cell__content">
<div class="var-cell__title" :class="[titleClass ? titleClass : null]">
<slot>{{ title }}</slot>
</div>
Expand All @@ -31,7 +31,6 @@ export default defineComponent({
components: {
[Icon.name]: Icon,
},
inheritAttrs: false,
props,
})
</script>
Expand Down

0 comments on commit 01b690f

Please sign in to comment.