@tongfun/tf-widget 0.1.135 → 0.1.136
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
|
@@ -141344,7 +141344,7 @@ async function initTableConfigList(el, binding, vNode) {
|
|
|
141344
141344
|
field: item.property,
|
|
141345
141345
|
isShow: testField(current, 'isShow') ? current.isShow : true,
|
|
141346
141346
|
isFreeze: testField(current, 'isFreeze') ? current.isFreeze : false,
|
|
141347
|
-
fieldWidth: testField(current, 'fieldWidth') ? current.fieldWidth : item.width ? item.width.split('px')[0] : 150,
|
|
141347
|
+
fieldWidth: testField(current, 'fieldWidth') ? current.fieldWidth : item.width ? (item.width + '').split('px')[0] : 150,
|
|
141348
141348
|
fieldIndex: current.fieldIndex
|
|
141349
141349
|
};
|
|
141350
141350
|
});
|
|
@@ -141531,6 +141531,7 @@ function watchTableColumn(el, binding, vNode) {
|
|
|
141531
141531
|
columns.forEach((item, index) => {
|
|
141532
141532
|
vm.$set(columns[index], 'filterValue', null);
|
|
141533
141533
|
vm.$set(columns[index], 'orderBy', undefined);
|
|
141534
|
+
vm.$set(columns[index], 'resizable', true);
|
|
141534
141535
|
vm.$set(columns[index], 'sortable', true);
|
|
141535
141536
|
vm.$set(columns[index], 'sortMethod', customSort(item.property));
|
|
141536
141537
|
|
package/lib/tf-widget.umd.js
CHANGED
|
@@ -141354,7 +141354,7 @@ async function initTableConfigList(el, binding, vNode) {
|
|
|
141354
141354
|
field: item.property,
|
|
141355
141355
|
isShow: testField(current, 'isShow') ? current.isShow : true,
|
|
141356
141356
|
isFreeze: testField(current, 'isFreeze') ? current.isFreeze : false,
|
|
141357
|
-
fieldWidth: testField(current, 'fieldWidth') ? current.fieldWidth : item.width ? item.width.split('px')[0] : 150,
|
|
141357
|
+
fieldWidth: testField(current, 'fieldWidth') ? current.fieldWidth : item.width ? (item.width + '').split('px')[0] : 150,
|
|
141358
141358
|
fieldIndex: current.fieldIndex
|
|
141359
141359
|
};
|
|
141360
141360
|
});
|
|
@@ -141541,6 +141541,7 @@ function watchTableColumn(el, binding, vNode) {
|
|
|
141541
141541
|
columns.forEach((item, index) => {
|
|
141542
141542
|
vm.$set(columns[index], 'filterValue', null);
|
|
141543
141543
|
vm.$set(columns[index], 'orderBy', undefined);
|
|
141544
|
+
vm.$set(columns[index], 'resizable', true);
|
|
141544
141545
|
vm.$set(columns[index], 'sortable', true);
|
|
141545
141546
|
vm.$set(columns[index], 'sortMethod', customSort(item.property));
|
|
141546
141547
|
|