'换火时间BUG,柱状图label纵向'
This commit is contained in:
		@@ -75,7 +75,7 @@ export default {
 | 
				
			|||||||
        this.chart = echarts.init(document.getElementById(this.id));
 | 
					        this.chart = echarts.init(document.getElementById(this.id));
 | 
				
			||||||
      this.chart.setOption({
 | 
					      this.chart.setOption({
 | 
				
			||||||
        grid: {
 | 
					        grid: {
 | 
				
			||||||
          top: adjust(10),
 | 
					          top: adjust(20),
 | 
				
			||||||
          left: adjust(28),
 | 
					          left: adjust(28),
 | 
				
			||||||
          bottom: adjust(18),
 | 
					          bottom: adjust(18),
 | 
				
			||||||
          right: adjust(12),
 | 
					          right: adjust(12),
 | 
				
			||||||
@@ -147,7 +147,9 @@ export default {
 | 
				
			|||||||
              show: true,
 | 
					              show: true,
 | 
				
			||||||
              fontSize: adjust(7),
 | 
					              fontSize: adjust(7),
 | 
				
			||||||
              color: "#eee8",
 | 
					              color: "#eee8",
 | 
				
			||||||
              position: "top",
 | 
					              position: "topRight",
 | 
				
			||||||
 | 
					              rotate: 90,
 | 
				
			||||||
 | 
					              offset: [5, 0]
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            itemStyle: {
 | 
					            itemStyle: {
 | 
				
			||||||
              color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
 | 
					              color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -43,8 +43,12 @@ export default {
 | 
				
			|||||||
      timeFun = setInterval(() => {
 | 
					      timeFun = setInterval(() => {
 | 
				
			||||||
        if (sec > 0) sec -= 1
 | 
					        if (sec > 0) sec -= 1
 | 
				
			||||||
        else {
 | 
					        else {
 | 
				
			||||||
          sec = 59
 | 
					          if (min > 0) {
 | 
				
			||||||
          min -= 1
 | 
					            sec = 59
 | 
				
			||||||
 | 
					            min -= 1
 | 
				
			||||||
 | 
					          } else {
 | 
				
			||||||
 | 
					            if (timeFun) clearInterval(timeFun)
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        this.$set(this.rdata[2], 'value', `${min}分${sec}秒`)
 | 
					        this.$set(this.rdata[2], 'value', `${min}分${sec}秒`)
 | 
				
			||||||
      }, 1000)
 | 
					      }, 1000)
 | 
				
			||||||
 
 | 
				
			|||||||
		Посилання в новій задачі
	
	Block a user