owl-rich-table
Version:
富文本编辑表格,react组件
13 lines (12 loc) • 419 B
JavaScript
/**
* row key create fn
*/
export function createRowKey(y, incrementKey) {
return "row_".concat(y, ",incrementKey_").concat(incrementKey);
}
/**
* cell key create fn
*/
export function createCellKey(coord, incrementKey) {
return "row_".concat(coord === null || coord === void 0 ? void 0 : coord.y, ",col_").concat(coord === null || coord === void 0 ? void 0 : coord.x, ",incrementKey_").concat(incrementKey);
}