cjl
2 days ago 1ebbed2ea18f0ddc3f4d2cfa7657d47788bda7ec
src/views/radar/index.vue
@@ -68,8 +68,8 @@
      dataType: 'HourPicker',
      defaultData: {},
      newData: [],
      high1: 1000,
      high2: 7000,
      high1: 100,
      high2: 3000,
      timeList: null,
      currentTimeIdx: 0
    };
@@ -86,7 +86,7 @@
  },
   mounted() {
     const now = new Date();
     const startTime = new Date(now.getTime() - 20 * 60 * 1000);
     const startTime = new Date(now.getTime() - 24*60 * 60 * 1000);
     const fmt = (d) => {
       const Y = d.getFullYear();
       const M = String(d.getMonth() + 1).padStart(2, '0');
@@ -121,9 +121,7 @@
        this.chart = null;
      }
      this.chart = chartLib.init(chartEl);
      console.log(DATA);
      if (!DATA || !DATA.time || !DATA.time.length) {
        console.log(222);
      if (!DATA || !DATA.time||!DATA.time.length) {
        this.chart.setOption({
          graphic: {
            type: 'text',