ztxkui 4.3.3 → 4.3.4
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.
|
@@ -388,7 +388,6 @@ function useColumns(props) {
|
|
|
388
388
|
var _a = useState(false), refreshColumns = _a[0], setRefreshColumns = _a[1];
|
|
389
389
|
var refreshColumnsHandle = useCallback(function () { return setRefreshColumns(function (refresh) { return !refresh; }); }, []);
|
|
390
390
|
var calcColumns = useMemo(function () {
|
|
391
|
-
console.log('calc new columns');
|
|
392
391
|
return getNewColumnsMemo(columns, refreshColumns);
|
|
393
392
|
}, [getNewColumnsMemo, columns, refreshColumns]);
|
|
394
393
|
return {
|
|
@@ -95,7 +95,6 @@ var TableEnhanceCell = function (_a) {
|
|
|
95
95
|
if (dataIndex) {
|
|
96
96
|
// form?.setFieldsValue({ [dataIndex]: record[dataIndex] });
|
|
97
97
|
// form?.setFieldValue(dataIndex, record[dataIndex]);
|
|
98
|
-
console.log(record[dataIndex]);
|
|
99
98
|
setVal(record[dataIndex]);
|
|
100
99
|
}
|
|
101
100
|
}, [dataIndex, record]);
|
|
@@ -106,7 +106,6 @@ var components = {
|
|
|
106
106
|
function Table(props) {
|
|
107
107
|
var _this = this;
|
|
108
108
|
var className = props.className, scroll = props.scroll, _a = props.pagination, pagination = _a === void 0 ? false : _a, _b = props.bordered, bordered = _b === void 0 ? true : _b, _columns = props.columns, initColumns = props.initColumns, dataSource = props.dataSource, onAddAndDelHandle = props.onAddAndDelHandle, hideAddIcon = props.hideAddIcon, addIconText = props.addIconText, hideDelIcon = props.hideDelIcon, showDelAllBtn = props.showDelAllBtn, delAllChange = props.delAllChange, delIconText = props.delIconText, showColumnDynamic = props.showColumnDynamic, showColumnDynamicKey = props.showColumnDynamicKey, summaryConfig = props.summaryConfig, summaryFixed = props.summaryFixed, summary = props.summary, onMoveRow = props.onMoveRow, onEditableSave = props.onEditableSave, onDynamicChange = props.onDynamicChange, _c = props.isResizableColumn, isResizableColumn = _c === void 0 ? true : _c, configInfo = props.configInfo, tableHandleRef = props.tableHandleRef, tableName = props.tableName, isFlex = props.isFlex, onTableChange = props.onTableChange, rowSelection = props.rowSelection, showInnerPagination = props.showInnerPagination, defaultInnerPageSize = props.defaultInnerPageSize, restProps = __rest(props, ["className", "scroll", "pagination", "bordered", "columns", "initColumns", "dataSource", "onAddAndDelHandle", "hideAddIcon", "addIconText", "hideDelIcon", "showDelAllBtn", "delAllChange", "delIconText", "showColumnDynamic", "showColumnDynamicKey", "summaryConfig", "summaryFixed", "summary", "onMoveRow", "onEditableSave", "onDynamicChange", "isResizableColumn", "configInfo", "tableHandleRef", "tableName", "isFlex", "onTableChange", "rowSelection", "showInnerPagination", "defaultInnerPageSize"]);
|
|
109
|
-
console.log('table render');
|
|
110
109
|
var classes = classNames('zt-table', className, {
|
|
111
110
|
'zt-table--flex': isFlex,
|
|
112
111
|
});
|