فهرست منبع

优化表格复制功能并修复合并单元格逻辑

yusheng 5 ماه پیش
والد
کامیت
c538fcf370
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/components/templateDiv/customTable.vue

+ 1 - 1
src/components/templateDiv/customTable.vue

@@ -544,7 +544,7 @@
         let columns = JSON.parse(JSON.stringify(this.columns));
         columns.forEach((item, index) => {
           item.forEach((cell, _index) => {
-            if (cell.colspanKey.length) {
+            if (cell.colspanKey.length&&!cell.copyId) {
               cell.colspanKey.forEach((key, index) => {
                 let id = generateRandomString(5);
                 let { columnIndex, rowIndex } = this.getIndex(key);