element表格无数据时,自定义“暂无数据”以及col超出的tool-tip

 
 <el-table :data="tableDatas" style="width: 100%" max-height="129">
     <template slot="empty">
           <div style="height:92px;line-height:92px;">暂无月度产值预警</div>
      </template>  
      <el-table-column prop="regionFullName" label="施工区段" align="center" 
       :show-overflow-tooltip="true">
      </el-table-column>    
  </el-table>

猜你喜欢

转载自blog.csdn.net/qq_37899792/article/details/89847265