|
|
|
@ -63,7 +63,6 @@ |
|
|
|
// import 'layui-src/src/css/layui.css'; |
|
|
|
import KlineView from '@/components/PytnUsdt.vue'; |
|
|
|
// import '../../static/kline/src/klineCharts.js'; |
|
|
|
// debug utils |
|
|
|
import sysconfig from '@/utils/config' |
|
|
|
|
|
|
|
export default { |
|
|
|
@ -85,8 +84,8 @@ |
|
|
|
this.$router.replace({ path: '/KlineView', query: { symbol: this.title, interval: kcCurrentData.interval}}); |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
// |
|
|
|
console.log(sysconfig.get('flag')) |
|
|
|
//console.log(sysconfig.get('flag')) |
|
|
|
const apihost = sysconfig.get('apiHost') |
|
|
|
|
|
|
|
$('.interval_btn').on('click', function() { |
|
|
|
if (kcChart != null || kcChart != undefined) { |
|
|
|
@ -96,7 +95,7 @@ |
|
|
|
kcHistoryKeyId = 1; |
|
|
|
var rang = setKLineVisibleRange(parseInt(Date.now() / 1000)); |
|
|
|
$.ajax({ |
|
|
|
url: "https://dfmg.dficoins.com/api/getkkline", |
|
|
|
url: apihost+"/api/getkkline", |
|
|
|
type: 'get', |
|
|
|
async: false, |
|
|
|
data: { |
|
|
|
|