From 76dfe48114459796190fa9ef3926e2deb9e05bc3 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 14 Mar 2023 17:11:17 +0800 Subject: [PATCH] bug --- components/layout/AiDvTable/AiDvTable.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/layout/AiDvTable/AiDvTable.vue b/components/layout/AiDvTable/AiDvTable.vue index c0fcc193..39ea31bf 100644 --- a/components/layout/AiDvTable/AiDvTable.vue +++ b/components/layout/AiDvTable/AiDvTable.vue @@ -88,8 +88,9 @@ } const headerKey = Object.keys(value[0])[0] + console.log(Object.keys(value[0])) const bodyKey = Object.keys(value[0]).filter(v => { - return v !== headerKey && v !== 'color' && v !== 'width' + return v !== headerKey && ['color', 'width', 'align'].indexOf(v) === -1 }) this.header = value.map(v => { @@ -242,7 +243,7 @@ box-shadow: 1px 1px 5px rgba(50, 181, 108, 0.5) inset; } .header { - background: #6e2d2a; + background: rgba(226, 121, 81, 0.2); } .body {