@tongfun/tf-widget 0.1.113 → 0.1.114

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.
@@ -144663,10 +144663,7 @@ function download(fileName, data) {
144663
144663
  item.minWidth = 50;
144664
144664
  }
144665
144665
 
144666
- if (item.isFreeze) {
144667
- item.pinned = 'left';
144668
- }
144669
-
144666
+ item.pinned = item.isFreeze ? 'left' : '';
144670
144667
  item.lockPinned = true; // 禁止通过拖动列来 固定列
144671
144668
 
144672
144669
  item.headerName = item.title;
@@ -144673,10 +144673,7 @@ function download(fileName, data) {
144673
144673
  item.minWidth = 50;
144674
144674
  }
144675
144675
 
144676
- if (item.isFreeze) {
144677
- item.pinned = 'left';
144678
- }
144679
-
144676
+ item.pinned = item.isFreeze ? 'left' : '';
144680
144677
  item.lockPinned = true; // 禁止通过拖动列来 固定列
144681
144678
 
144682
144679
  item.headerName = item.title;