update JTable修改
This commit is contained in:
@@ -230,7 +230,7 @@ export default {
|
||||
// 如果不需要配置冻结列,就按表头本身传的参数决定固定列
|
||||
const fixed = this.needSettingColumnHideOrFreeze ? this.settingColumnsObj.freeze.includes(key) : col.fixed
|
||||
col.hide = this.settingColumnsObj.hide.includes(key)
|
||||
col.fixed = key === actionKey ? 'right' : fixed
|
||||
col.fixed = fixed
|
||||
// 如果是字符串就转换成数字(因为实现拖拽,单位只能是px)
|
||||
col.width = col.width && parseInt(col.width + '')
|
||||
// 如果没有最小宽度就获取统一设置的最小宽度
|
||||
|
||||
Reference in New Issue
Block a user