bootstrap-table设置表头宽度无效的解决方案

bootstrap-table设置colmuns中某列的宽度无效时,需要给整个表设置css属性

.table{
    table-layout: fixed;
}