venus-design 1.1.19 → 1.1.20
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.
|
@@ -126,7 +126,9 @@ var ResizableTabel = function ResizableTabel(props) {
|
|
|
126
126
|
updateHeaderHeight();
|
|
127
127
|
setTimeout(updateHeaderHeight, 100);
|
|
128
128
|
}, [dcolumns]);
|
|
129
|
-
|
|
129
|
+
useEffect(function () {
|
|
130
|
+
setDcolumns(props.columns);
|
|
131
|
+
}, [props.columns]);
|
|
130
132
|
// 开始拖拽 → 初始化就直接对准鼠标!
|
|
131
133
|
var handleResizeStart = useCallback(function (index, column, e) {
|
|
132
134
|
var _tableContainerRef$cu3;
|
|
@@ -529,8 +529,6 @@ export var VENUS_TABLE_COLUMNRENDER_TYPE = {
|
|
|
529
529
|
}
|
|
530
530
|
var key = "".concat(record.innerId, "-").concat(column.fieldId);
|
|
531
531
|
var editing = Boolean(actions.editingMap[key]);
|
|
532
|
-
console.log(actions.editingMap);
|
|
533
|
-
|
|
534
532
|
/* 统一回写 */
|
|
535
533
|
var finishEdit = function finishEdit(newVal) {
|
|
536
534
|
actions.toggleEdit(key, false);
|