Browse Source

修改币币页面的k线时间

master
liaoxinyu 9 months ago
parent
commit
827b0fc00e
  1. 6
      pages/exchange/time-sharing.vue

6
pages/exchange/time-sharing.vue

@ -62,8 +62,9 @@ export default {
</script>
<script module="highstock" lang="renderjs">
import highstock from "highcharts/highstock";
import date from "@/utils/class/date.js";
export default {
// parseTime(item.ts, false, "{h}:{i}:{s}")
computed: {
list() {
return this.chartTradList.map((item) => {
@ -81,6 +82,7 @@ export default {
};
},
methods: {
parseTime: date.parseTime,
changeConfig(config){
this.task(config)
},
@ -104,7 +106,7 @@ export default {
intiChart($box) {
highstock.setOptions({
global: {
timezoneOffset: -8 * 60,
timezoneOffset: 4 * 60,
},
});

Loading…
Cancel
Save