From e2f518a49a7287b3c2f5160521814f952fb3e744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E6=B5=B7=E6=AC=A3?= Date: Sat, 23 Nov 2019 14:38:15 +0800 Subject: [PATCH] =?UTF-8?q?k=E7=BA=BF=E5=B9=B4=E9=99=90=E6=94=B9=E4=B8=BA1?= =?UTF-8?q?0=E5=B9=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/market/js/market_info.js | 1 + lib/JsApi/Datafeed.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/market/js/market_info.js b/html/market/js/market_info.js index acd0725..332f8c2 100644 --- a/html/market/js/market_info.js +++ b/html/market/js/market_info.js @@ -263,6 +263,7 @@ var Kvue = new Vue({ this.interval = interval; this.TvWidget.onChartReady(function() { _this3.onChartReady(_this3.TvWidget); + }); }, onChartReady: function onChartReady(TvWidget) { diff --git a/lib/JsApi/Datafeed.js b/lib/JsApi/Datafeed.js index 2b44da8..5180822 100644 --- a/lib/JsApi/Datafeed.js +++ b/lib/JsApi/Datafeed.js @@ -59,7 +59,7 @@ Datafeed.prototype.calculateHistoryDepth = function (resolution, resolutionBack, localStorage.setItem('resolution', resolution); return { resolutionBack: 'M', - intervalBack: 24 + intervalBack: 120 }; };