@tongfun/tf-widget 0.1.157 → 0.1.158
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.
package/lib/tf-widget.common.js
CHANGED
|
@@ -141944,6 +141944,7 @@ function syncConfig(el, binding, vNode) {
|
|
|
141944
141944
|
item.isFreeze = current.isFreeze;
|
|
141945
141945
|
}
|
|
141946
141946
|
});
|
|
141947
|
+
console.log(el.umyTableSetting.tableConfigList);
|
|
141947
141948
|
}
|
|
141948
141949
|
/** 获取保存时的数据 */
|
|
141949
141950
|
|
|
@@ -141990,7 +141991,7 @@ function updateColumn(el, binding, vNode, fullColumn) {
|
|
|
141990
141991
|
|
|
141991
141992
|
if (current) {
|
|
141992
141993
|
fullColumn[index].width = current.fieldWidth + 'px';
|
|
141993
|
-
fullColumn[index].fixed = current.isFreeze ? 'left' : column.fixed;
|
|
141994
|
+
fullColumn[index].fixed = current.isFreeze ? 'left' : column.fixed === 'right' ? 'right' : '';
|
|
141994
141995
|
fullColumn[index].visible = current.isShow;
|
|
141995
141996
|
fullColumn[index].fieldIndex = current.fieldIndex;
|
|
141996
141997
|
} // 记录没有配置的列总共有多少
|
package/lib/tf-widget.umd.js
CHANGED
|
@@ -141954,6 +141954,7 @@ function syncConfig(el, binding, vNode) {
|
|
|
141954
141954
|
item.isFreeze = current.isFreeze;
|
|
141955
141955
|
}
|
|
141956
141956
|
});
|
|
141957
|
+
console.log(el.umyTableSetting.tableConfigList);
|
|
141957
141958
|
}
|
|
141958
141959
|
/** 获取保存时的数据 */
|
|
141959
141960
|
|
|
@@ -142000,7 +142001,7 @@ function updateColumn(el, binding, vNode, fullColumn) {
|
|
|
142000
142001
|
|
|
142001
142002
|
if (current) {
|
|
142002
142003
|
fullColumn[index].width = current.fieldWidth + 'px';
|
|
142003
|
-
fullColumn[index].fixed = current.isFreeze ? 'left' : column.fixed;
|
|
142004
|
+
fullColumn[index].fixed = current.isFreeze ? 'left' : column.fixed === 'right' ? 'right' : '';
|
|
142004
142005
|
fullColumn[index].visible = current.isShow;
|
|
142005
142006
|
fullColumn[index].fieldIndex = current.fieldIndex;
|
|
142006
142007
|
} // 记录没有配置的列总共有多少
|