@tongfun/tf-widget 0.1.159 → 0.1.160

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141982,7 +141982,7 @@ function updateColumn(el, binding, vNode, fullColumn) {
141982
141982
 
141983
141983
  if (Object.keys(enums).indexOf(column.type) !== -1) {
141984
141984
  fullColumn[index].resizable = column.type === 'index';
141985
- fullColumn[index].width = column.type === 'index' ? '40px' : '35px';
141985
+ fullColumn[index].width = column.width || (column.type === 'index' ? '40px' : '35px');
141986
141986
  return fullColumn[index].fieldIndex = enums[column.type];
141987
141987
  } // 存在配置
141988
141988
 
@@ -141992,7 +141992,7 @@ function updateColumn(el, binding, vNode, fullColumn) {
141992
141992
 
141993
141993
  if (Object.keys(enums).indexOf(column.type) !== -1) {
141994
141994
  fullColumn[index].resizable = column.type === 'index';
141995
- fullColumn[index].width = column.type === 'index' ? '40px' : '35px';
141995
+ fullColumn[index].width = column.width || (column.type === 'index' ? '40px' : '35px');
141996
141996
  return fullColumn[index].fieldIndex = enums[column.type];
141997
141997
  } // 存在配置
141998
141998