1、 HTML table表格 固定表头 tbody加滚动条

2、 数字、字母文本溢出

<table class="table">
  <thead class="thead">
    ...
  </thead>
  <tbody class="tbody">
    <tr v-for="(item, index) in data" :key="index">
      <td>{{ item.account }}</td>
      <td width="46%">{{ item.option }}</td>
      <td width="24%">
        <div class="link">
          {{ item.link }}
        </div>
      </td>
      <td>{{ item.duration }}</td>
    </tr>
  </tbody>
</table>
.table {
  .tbody {
    .link {
      word-wrap:break-word;
      word-break:break-all;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 1; //多行在这里修改数字即可
      overflow:hidden;
      /* autoprefixer: ignore next */
      -webkit-box-orient: vertical;
    }
  }
}

3、 flex 布局 overflow 失效 Scrolling a flexbox with overflowing content

Basically, to make a flexbox cell scrollable, you have to make all its parents overflow: hidden;, or it will just ignore your overflow settings and make the parent larger instead.