Skip to content

Commit

Permalink
fix(Row): remove row clear when use flex
Browse files Browse the repository at this point in the history
  • Loading branch information
vvpvvp committed Aug 21, 2019
1 parent ca15ec1 commit e13feb3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions doc/components/demos/plugins/tree7.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<Row v-height="300" type="flex">
<Cell :width="12" class="overflow-y" v-padding="10">
<Row type="flex">
<Cell v-height="300" :width="12" class="overflow-y" v-padding="10">
<p>value: {{value1}}</p>
<Tree config="simple" v-model="value1"></Tree>
</Cell>
<Cell :width="12" class="overflow-y" v-padding="10">
<Cell v-height="300" :width="12" class="overflow-y" v-padding="10">
<p>value: {{value2}}</p>
<Tree config="simple" multiple v-model="value2"></Tree>
</Cell>
Expand Down
14 changes: 7 additions & 7 deletions doc/components_en/demos/plugins/tree7.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<Row v-height="300" type="flex">
<Cell :width="12" class="overflow-y" v-padding="10">
<p>value: {{value1}}</p>
<Tree config="simple" v-model="value1"></Tree>
<Row type="flex">
<Cell v-height="300" :width="12" class="overflow-y" v-padding="10">
<p>value: {{value1}}</p>
<Tree config="simple" v-model="value1"></Tree>
</Cell>
<Cell :width="12" class="overflow-y" v-padding="10">
<p>value: {{value2}}</p>
<Tree config="simple" multiple v-model="value2"></Tree>
<Cell v-height="300" :width="12" class="overflow-y" v-padding="10">
<p>value: {{value2}}</p>
<Tree config="simple" multiple v-model="value2"></Tree>
</Cell>
</Row>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/components/row/row.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div :class="classes"
:style="styles">
<slot></slot>
<div class="h-row-clear"></div>
<div class="h-row-clear" v-if="type!='flex'"></div>
</div>
</template>
<script>
Expand Down

0 comments on commit e13feb3

Please sign in to comment.