bug
This commit is contained in:
@@ -88,8 +88,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const headerKey = Object.keys(value[0])[0]
|
const headerKey = Object.keys(value[0])[0]
|
||||||
|
console.log(Object.keys(value[0]))
|
||||||
const bodyKey = Object.keys(value[0]).filter(v => {
|
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 => {
|
this.header = value.map(v => {
|
||||||
@@ -242,7 +243,7 @@
|
|||||||
box-shadow: 1px 1px 5px rgba(50, 181, 108, 0.5) inset;
|
box-shadow: 1px 1px 5px rgba(50, 181, 108, 0.5) inset;
|
||||||
}
|
}
|
||||||
.header {
|
.header {
|
||||||
background: #6e2d2a;
|
background: rgba(226, 121, 81, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
|
|||||||
Reference in New Issue
Block a user