所以我想向 vue-good-table 行添加一个活动类,以便用户可以看到哪一行是活动的。但是 vue-good-table 似乎没有任何东西可以让我们向一行添加一个类,或者做类似的事情。我尝试向其中添加样式,template slot="table-row"
例如:
<template slot="table-row" slot-scope="props">
<div :class="{ 'active-column': someCondition }">.....<div>
</template>
但是,它没有像我预期的那样工作。是否有一些 css 可以应用于这些 div,以便它们可以占据全部高度,因为到目前为止我还无法做到。
任何帮助,将不胜感激。