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参数
|
// 构建URL参数
|
||||||
let url = `${API_BASE}/api/information/list?info_type=${type}`
|
let url = `${API_BASE}/api/information/list?info_type=${type}`
|
||||||
|
|
||||||
// 如果是成交行情tab,获取当天所有数据(不分页)
|
// 成交行情tab,获取500条数据
|
||||||
if (activeTab === 'deal' && dealDate) {
|
if (activeTab === 'deal') {
|
||||||
url += `&deal_date=${dealDate}&page_size=500`
|
url += `&page_size=500`
|
||||||
|
if (dealDate) {
|
||||||
|
url += `&deal_date=${dealDate}`
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
url += `&page=${currentPage}&page_size=50`
|
url += `&page=${currentPage}&page_size=50`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue