publish 0.9.9-rc-3

fixed Table width bug when resize window
This commit is contained in:
梁灏 2016-11-30 16:12:10 +08:00
parent 5e7a3b293b
commit 224a3ae539
6 changed files with 44 additions and 23 deletions

View file

@ -1,7 +1,7 @@
<template>
<table cellspacing="0" cellpadding="0" border="0" :style="style">
<colgroup>
<col v-for="item in setCellWidth" :width="setCellWidth($index)">
<col v-for="column in columns" :width="setCellWidth(column, $index)">
</colgroup>
<tbody :class="[prefixCls + '-tbody']">
<tr
@ -37,7 +37,7 @@
columns: Array,
data: Array, // rebuildData
objData: Object,
columnsWidth: Array,
columnsWidth: Object,
fixed: {
type: [Boolean, String],
default: false