|
|
|
@ -240,13 +240,13 @@ methods: { |
|
|
|
) { |
|
|
|
// handleClick |
|
|
|
this.page[this.symbol] = this.page[this.symbol] || 1; |
|
|
|
let page = this.page[this.symbol] > 3 ? 3 : this.page[this.symbol]; |
|
|
|
let page = this.page[this.symbol] > 50 ? 50 : this.page[this.symbol]; |
|
|
|
let data = { |
|
|
|
symbol: this.ajaxTv.getSymbol(symbolInfo.name), |
|
|
|
period: this.resolution(resolution), |
|
|
|
form: rangeStartDate, |
|
|
|
to: rangeEndDate, |
|
|
|
size: page * 200, |
|
|
|
size: page * 400, |
|
|
|
zip: 1, |
|
|
|
}; |
|
|
|
|
|
|
|
@ -273,7 +273,7 @@ methods: { |
|
|
|
this.page[this.symbol]++; |
|
|
|
onLoadedCallback(arr); |
|
|
|
setTimeout(() => { |
|
|
|
if (this.page[this.symbol] > 3) { |
|
|
|
if (this.page[this.symbol] > 50) { |
|
|
|
onLoadedCallback([]); |
|
|
|
} |
|
|
|
}, 60); |
|
|
|
|