@hailin-zheng/editor-core 1.1.14 → 1.1.15
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/index-cjs.js +1 -1
- package/index-cjs.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index-cjs.js
CHANGED
@@ -9269,7 +9269,7 @@ class TableSplitCell {
|
|
9269
9269
|
const mergeCols = this.getHMergeColsCount(tb, focusRowIndex, focusCellIndex);
|
9270
9270
|
//只有拆分的行数需要满足此条件
|
9271
9271
|
if (mergeRows > 1 && rows > 1) {
|
9272
|
-
if (
|
9272
|
+
if (mergeRows % rows !== 0) {
|
9273
9273
|
throw new Error(`当前合并的行数为:${mergeRows},当前可拆分的行数是${mergeRows}的约数`);
|
9274
9274
|
}
|
9275
9275
|
}
|