记得要将 highlight-current-row 高亮属性打开
<template>
<el-table
highlight-current-row
:data="table1"
:row-style="{height: '20px'}"
:header-cell-style="{background:'#e6e6e6',color:'#000000'}"
border
style
记得要将 highlight-current-row 高亮属性打开
<template>
<el-table
highlight-current-row
:data="table1"
:row-style="{height: '20px'}"
:header-cell-style="{background:'#e6e6e6',color:'#000000'}"
border
style