@@ -53,11 +53,13 @@ const BillBoard = (props) => {
53
53
...data ,
54
54
} ;
55
55
if ( data . type ) {
56
- newTableData . type = getBillBoardType ( data . type )
56
+ newTableData . type = data . type ;
57
+ // newTableData.type = getBillBoardType(data.type);
57
58
}
58
59
if ( data . types ) {
59
60
Object . keys ( data . types ) . forEach ( ( key ) => {
60
- newTableData . types [ key ] = getBillBoardType ( data . types [ key ] ) ;
61
+ newTableData . types [ key ] = data . types [ key ] ;
62
+ // newTableData.types[key] = getBillBoardType(data.types[key]);
61
63
} ) ;
62
64
}
63
65
@@ -81,9 +83,7 @@ const BillBoard = (props) => {
81
83
< div className = { isIframe ? theme . center_chart : theme . center } >
82
84
< div className = { theme . modal } >
83
85
< div className = { theme . head } >
84
- < div className = { theme . text } >
85
- { title }
86
- </ div >
86
+ < div className = { theme . text } > { title } </ div >
87
87
< div
88
88
className = { theme . close }
89
89
id = "chart_btn"
@@ -93,8 +93,14 @@ const BillBoard = (props) => {
93
93
/>
94
94
</ div >
95
95
< div className = { theme . body } >
96
- < div className = { cn ( theme . content , theme . billboard ) } style = { { minHeight : '300px' } } >
97
- < div className = { theme . description } dangerouslySetInnerHTML = { { __html : description } } />
96
+ < div
97
+ className = { cn ( theme . content , theme . billboard ) }
98
+ style = { { minHeight : '300px' } }
99
+ >
100
+ < div
101
+ className = { theme . description }
102
+ dangerouslySetInnerHTML = { { __html : description } }
103
+ />
98
104
< div className = { theme . graph_box } ref = { chartRef } />
99
105
</ div >
100
106
</ div >
@@ -130,6 +136,6 @@ const BillBoard = (props) => {
130
136
</ div >
131
137
</ div >
132
138
) ;
133
- }
139
+ } ;
134
140
135
- export default pure ( BillBoard ) ;
141
+ export default pure ( BillBoard ) ;
0 commit comments