Commit 58cd467591b99bb88eadfcaa7c68d2dbd8b9a7e2
1 parent
c5beedf8
fixed #1380
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
examples/routers/table.vue
| @@ -195,7 +195,7 @@ | @@ -195,7 +195,7 @@ | ||
| 195 | </div> | 195 | </div> |
| 196 | <div class="layout-content"> | 196 | <div class="layout-content"> |
| 197 | <div class="layout-content-main"> | 197 | <div class="layout-content-main"> |
| 198 | - <Table :columns="columns1" :data="data1"></Table> | 198 | + <Table stripe :columns="columns1" :data="data1"></Table> |
| 199 | </div> | 199 | </div> |
| 200 | </div> | 200 | </div> |
| 201 | <div class="layout-copy"> | 201 | <div class="layout-copy"> |
src/styles/components/table.less
| @@ -187,6 +187,12 @@ | @@ -187,6 +187,12 @@ | ||
| 187 | background-color: @table-td-stripe-bg; | 187 | background-color: @table-td-stripe-bg; |
| 188 | } | 188 | } |
| 189 | } | 189 | } |
| 190 | + // #1380 | ||
| 191 | + tr.@{table-prefix-cls}-row-hover{ | ||
| 192 | + td{ | ||
| 193 | + background-color: @table-td-hover-bg; | ||
| 194 | + } | ||
| 195 | + } | ||
| 190 | } | 196 | } |
| 191 | 197 | ||
| 192 | tr&-row-hover{ | 198 | tr&-row-hover{ |