Browse Source

优化

master
ltlzx 4 years ago
parent
commit
44e751f7e5
  1. 4
      src/views/option/kline.vue

4
src/views/option/kline.vue

@ -117,7 +117,8 @@ data() {
ws: undefined, ws: undefined,
onLoadedCallback: undefined, onLoadedCallback: undefined,
onRealtimeCallback: undefined, onRealtimeCallback: undefined,
timer: "15", // timer: "15",
timer: "1",
sub: "", sub: "",
isCreateSocket: false, isCreateSocket: false,
page: {}, page: {},
@ -205,6 +206,7 @@ methods: {
onLoadedCallback, onLoadedCallback,
onErrorCallback onErrorCallback
) { ) {
// handleClick
console.info(resolution) console.info(resolution)
this.page[this.symbol] = this.page[this.symbol] || 1; 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] > 3 ? 3 : this.page[this.symbol];

Loading…
Cancel
Save