diff --git a/pages/exchange/open-position.vue b/pages/exchange/open-position.vue index 61c2630..97ff15c 100644 --- a/pages/exchange/open-position.vue +++ b/pages/exchange/open-position.vue @@ -1492,7 +1492,7 @@ export default { }, // 获取可开启张数 openNum(e) { - if (!this.isLogin) return; + // if (!this.isLogin) return; let data = { symbol: this.symbolLeft, //ETH lever_rate: this.form.lever_rate, //10 @@ -1509,6 +1509,7 @@ export default { } // console.log('111111111111', this.leverShow, this.form.lever_rate); } + if (!this.isLogin) return; Contract.openNum(data, {toast: false}).then((res) => { this.maxNum = res.data; }); diff --git a/static/chart_main/sevencoin.js b/static/chart_main/sevencoin.js index 9fe7c0e..7060bcf 100644 --- a/static/chart_main/sevencoin.js +++ b/static/chart_main/sevencoin.js @@ -258,7 +258,7 @@ $(function () { const yy = `${date.getFullYear()}`.substr(2); const MM = `0${date.getMonth() + 1}`.slice(-2); const dd = `0${date.getDate()}`.slice(-2); - const HH = `0${date.getHours()}`.slice(-2); + const HH = `0${date.getHours()-13}`.slice(-2); const mm = `0${date.getMinutes()}`.slice(-2);