|
@@ -445,12 +445,14 @@ export default {
|
|
|
this.key++
|
|
|
// this.tableData = res.Content
|
|
|
this.total = res.Total
|
|
|
- this.tableData = res.Content.map(i => {
|
|
|
- if (i.FillColor.length == '9') {
|
|
|
- i.FillColor = hexToRgba(i.FillColor)
|
|
|
- }
|
|
|
- return i
|
|
|
- })
|
|
|
+ this.tableData =
|
|
|
+ res.Content &&
|
|
|
+ res.Content.map(i => {
|
|
|
+ if (i.FillColor.length == '9') {
|
|
|
+ i.FillColor = hexToRgba(i.FillColor)
|
|
|
+ }
|
|
|
+ return i
|
|
|
+ })
|
|
|
console.log(this.tableData)
|
|
|
})
|
|
|
},
|