This commit is contained in:
yanran200730
2023-03-14 17:11:17 +08:00
parent 23fae77443
commit 76dfe48114

View File

@@ -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 {