@seafile/sdoc-editor 2.0.18-alph-0.1.0 → 2.0.18-alph-0.1.1
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/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/link-content.js +0 -1
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-header-cell.js +0 -1
- package/dist/basic-sdk/extension/plugins/seatable-row/dialog/add-seatable-row-dialog/row-card-item.js +0 -3
- package/package.json +1 -1
|
@@ -67,7 +67,6 @@ class RowCardItem extends _react.PureComponent {
|
|
|
67
67
|
} = column;
|
|
68
68
|
const draggedCellId = `${tableId}-${key}`;
|
|
69
69
|
const existedWidth = JSON.parse(localStorage.getItem(draggedCellId));
|
|
70
|
-
console.log(2, existedWidth, width, column);
|
|
71
70
|
let columnWidth = existedWidth && rowCardType === 'link' ? existedWidth : width;
|
|
72
71
|
if (draggedCell.id === draggedCellId) {
|
|
73
72
|
columnWidth = draggedCell.width;
|
|
@@ -142,8 +141,6 @@ class RowCardItem extends _react.PureComponent {
|
|
|
142
141
|
onRef
|
|
143
142
|
} = this.props;
|
|
144
143
|
onRef && onRef(this, rowIdx);
|
|
145
|
-
// const { eventBus } = window.app;
|
|
146
|
-
console.log(2, _basicSdk.EventBus);
|
|
147
144
|
const eventBus = _basicSdk.EventBus.getInstance();
|
|
148
145
|
this.unsubscribeChangeHeaderWidth = eventBus.subscribe(_constants.EXTERNAL_EVENT.CHANGE_HEADER_WIDTH, this.setDraggedCell);
|
|
149
146
|
}
|