小编omu*_*bek的帖子

如何改变b表的宽度

我想展开表格的行,如屏幕截图所示。如何更改表格的宽度?\n有什么方法可以将类添加到表格中吗?

\n

我想要

\n
    logTableField: [\n  { key: "LogDate", label: "Tarih",thClass: \'bg-white text-dark\' },\n  { key: "LogUser", label: "Analist" },\n  { key: "Description", label: " \xc4\xb0\xc5\x9flem A\xc3\xa7\xc4\xb1klamas\xc4\xb1" },\n  { key: "LogText", label: "Kullan\xc4\xb1c\xc4\xb1 Yorumu" },\n],\n\n           <b-tab title="Kay\xc4\xb1t Loglar\xc4\xb1" v-if="this.Logs != null">\n          <b-table\n            id="logTable"\n            striped\n            hover\n            :items="Logs"\n            :fields="logTableField"\n            per-page="10"\n            :current-page="currentPageLog"\n          >\n            <template slot="Description" slot-scope="row">\n              <div v-html="row.item.Description"></div>\n            </template>\n          </b-table>\n          <b-pagination\n            v-model="currentPageLog"\n            :total-rows="Logs.length"\n            per-page="10"\n            aria-controls="my-table"\n          ></b-pagination>\n        </b-tab>\n
Run Code Online (Sandbox Code Playgroud)\n

vue.js bootstrap-4 vuejs2 vuetify.js bootstrap-vue

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

bootstrap-4 ×1

bootstrap-vue ×1

vue.js ×1

vuejs2 ×1

vuetify.js ×1