File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ const StockHistoryList: React.FC = () => {
1818
1919 const onQuery = ( params = pageData2Params ( pageData . meta ) ) => {
2020 const vals = form . getFieldsValue ( )
21- if ( ! vals . code ) {
22- return ;
23- }
21+ // if(!vals.code) {
22+ // return;
23+ // }
2424 setLoading ( true )
2525 stockHistoryPageList ( { ...params , ...vals , } ) . then ( res => {
2626 const data = data2PageData ( res )
@@ -52,6 +52,7 @@ const StockHistoryList: React.FC = () => {
5252 </ Row >
5353 </ Form >
5454 < Table
55+ size = "small"
5556 columns = { historyColumns ( ) }
5657 dataSource = { pageData . data }
5758 key = "code"
Original file line number Diff line number Diff line change @@ -94,7 +94,8 @@ export const historyColumns = (): ColumnProps<StockHistory>[] => {
9494 } ,
9595 {
9696 title : '成交额' ,
97- dataIndex : 'amount'
97+ dataIndex : 'amount' ,
98+ width : 200
9899 } ,
99100 // {
100101 // title: '交易量',
@@ -121,7 +122,7 @@ export const historyColumns = (): ColumnProps<StockHistory>[] => {
121122 dataIndex : 'pcf'
122123 } ,
123124 {
124- title : '总市值' ,
125+ title : '总市值(元) ' ,
125126 dataIndex : 'market_capital'
126127 } ,
127128 // {
You can’t perform that action at this time.
0 commit comments