Table: fix column[type=selection] style issue in ie9+.

pull/1657/head
Furybean 2016-12-09 14:44:00 +08:00 committed by 杨奕
parent 2dd2c79365
commit fed488ef9f
4 changed files with 13 additions and 2 deletions

View File

@ -29,6 +29,7 @@ cooking.set({
publicPath: process.env.CI_ENV || '', publicPath: process.env.CI_ENV || '',
hash: true, hash: true,
devServer: { devServer: {
hostname: '0.0.0.0',
port: 8085, port: 8085,
log: false, log: false,
publicPath: '/' publicPath: '/'

View File

@ -13,7 +13,8 @@ const defaults = {
width: 48, width: 48,
minWidth: 48, minWidth: 48,
realWidth: 48, realWidth: 48,
order: '' order: '',
className: 'el-table-column--selection'
}, },
index: { index: {
width: 48, width: 48,

View File

@ -101,6 +101,7 @@
</template> </template>
<script type="text/babel"> <script type="text/babel">
import ElCheckbox from 'element-ui/packages/checkbox';
import Migrating from 'element-ui/src/mixins/migrating'; import Migrating from 'element-ui/src/mixins/migrating';
import throttle from 'throttle-debounce/throttle'; import throttle from 'throttle-debounce/throttle';
import debounce from 'throttle-debounce/debounce'; import debounce from 'throttle-debounce/debounce';
@ -160,7 +161,8 @@
components: { components: {
TableHeader, TableHeader,
TableBody TableBody,
ElCheckbox
}, },
methods: { methods: {

View File

@ -4,6 +4,13 @@
@import "./common/var.css"; @import "./common/var.css";
@component-namespace el { @component-namespace el {
@b table-column {
@m selection .cell {
padding-left: 14px;
padding-right: 14px;
}
}
@b table-filter { @b table-filter {
border: solid 1px #d3dce6; border: solid 1px #d3dce6;
border-radius: 2px; border-radius: 2px;