From c321b49e754cab7689d4a017007bb81405d4b990 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Fri, 25 Jul 2025 09:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/app/index.vue | 15 +- .../DesignForm/tableListPage/index.vue | 10 +- .../tableListPage/index_20240919.vue | 2482 +++++++++-------- 3 files changed, 1320 insertions(+), 1187 deletions(-) diff --git a/src/components/DesignForm/app/index.vue b/src/components/DesignForm/app/index.vue index d9f4639..bf1892d 100644 --- a/src/components/DesignForm/app/index.vue +++ b/src/components/DesignForm/app/index.vue @@ -1550,13 +1550,14 @@ const transformOption = (val: string | number, type?: string) => { }; const readerColumnSun = (column: any) => { + console.log("表头label长度-11->", column); let labelLong = 0; // 表头label长度 - if (column) { - labelLong = column.length; + if (column.children) { + labelLong = column.children.length; } if (labelLong > 0) { let countLenght = 3; - column.forEach((item: any) => { + column.children.forEach((item: any) => { if (item.label.length < 3) { countLenght = countLenght + 90; } else { @@ -1566,7 +1567,7 @@ const readerColumnSun = (column: any) => { console.log("表头label长度-->", countLenght); return countLenght; } else { - return 420; + return 100; } }; @@ -1832,7 +1833,7 @@ const readerColumnSun = (column: any) => { :prop="item.field" :label="item.label" config="" - width="200" + min-width="100" align="center" fixed="right" > @@ -1962,7 +1963,7 @@ const readerColumnSun = (column: any) => { v-else-if="item.fieldClass == '_lableTitle'" label="标题" config="" - min-width="320" + min-width="20" >