v1.2.92 - 成交行情页面显示500条数据
This commit is contained in:
parent
9fe3f77d45
commit
e45899db0c
|
|
@ -1 +1 @@
|
|||
1.2.89
|
||||
1.2.92
|
||||
|
|
|
|||
|
|
@ -81,9 +81,12 @@ export default function News() {
|
|||
// 构建URL参数
|
||||
let url = `${API_BASE}/api/information/list?info_type=${type}`
|
||||
|
||||
// 如果是成交行情tab,获取当天所有数据(不分页)
|
||||
if (activeTab === 'deal' && dealDate) {
|
||||
url += `&deal_date=${dealDate}&page_size=500`
|
||||
// 成交行情tab,获取500条数据
|
||||
if (activeTab === 'deal') {
|
||||
url += `&page_size=500`
|
||||
if (dealDate) {
|
||||
url += `&deal_date=${dealDate}`
|
||||
}
|
||||
} else {
|
||||
url += `&page=${currentPage}&page_size=50`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue