diff --git a/examples/routers/table.vue b/examples/routers/table.vue index 6c3596e..6f9c30a 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -195,7 +195,7 @@ </div> <div class="layout-content"> <div class="layout-content-main"> - <Table :columns="columns1" :data="data1"></Table> + <Table stripe :columns="columns1" :data="data1"></Table> </div> </div> <div class="layout-copy"> diff --git a/src/styles/components/table.less b/src/styles/components/table.less index def15b6..e01d8c4 100644 --- a/src/styles/components/table.less +++ b/src/styles/components/table.less @@ -187,6 +187,12 @@ background-color: @table-td-stripe-bg; } } + // #1380 + tr.@{table-prefix-cls}-row-hover{ + td{ + background-color: @table-td-hover-bg; + } + } } tr&-row-hover{ -- libgit2 0.21.4