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

Loading…
Cancel
Save