From 4496dd8e7fff99a450bc3366078739d0cf67ddb8 Mon Sep 17 00:00:00 2001 From: Tyh2001 <1469442737@qq.com> Date: Sun, 17 Dec 2023 17:53:00 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fighting-design/table/src/props.ts | 2 + .../fighting-design/table/src/table copy.vue | 153 ------------------ packages/fighting-design/table/src/table.vue | 16 +- packages/fighting-theme/src/table.scss | 6 +- start/src/App.vue | 25 ++- 5 files changed, 34 insertions(+), 168 deletions(-) delete mode 100644 packages/fighting-design/table/src/table copy.vue diff --git a/packages/fighting-design/table/src/props.ts b/packages/fighting-design/table/src/props.ts index b9f2b4d003..1cea0411ae 100644 --- a/packages/fighting-design/table/src/props.ts +++ b/packages/fighting-design/table/src/props.ts @@ -31,6 +31,8 @@ export const Props = { zebraColor: setStringProp(), /** 自定义表格高度 */ height: setStringNumberProp(), + /** 自定义表格宽度 */ + width: setStringNumberProp(), /** 自定义背景颜色 */ bgColor: setStringProp(), /** 自定义头部背景颜色 */ diff --git a/packages/fighting-design/table/src/table copy.vue b/packages/fighting-design/table/src/table copy.vue deleted file mode 100644 index 2c18fbc049..0000000000 --- a/packages/fighting-design/table/src/table copy.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - diff --git a/packages/fighting-design/table/src/table.vue b/packages/fighting-design/table/src/table.vue index 6db3dcff3f..812ff2d5c2 100644 --- a/packages/fighting-design/table/src/table.vue +++ b/packages/fighting-design/table/src/table.vue @@ -71,16 +71,18 @@ https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/colgroup --> + - 序号 + #