yichenxi
2022-12-17 a60acf8bae5a1f49e1554e0ff63ff79e0aacf611
1、监测因子趋势数字显示问题修复
2 files modified
12 ■■■■■ changed files
src/utils/request.js 2 ●●● patch | view | raw | blame | history
src/views/charts/index.vue 10 ●●●●● patch | view | raw | blame | history
src/utils/request.js
@@ -2,7 +2,7 @@
import { MessageBox, Message } from 'element-ui'
import store from '@/store'
import { getToken } from '@/utils/auth'
const baseUrl = 'http://47.99.64.149:8081/'
const baseUrl = 'http://47.99.64.149:8081/'
// const baseUrl = 'http://192.168.0.42:8081/' // lzj
// const baseUrl = 'http://192.168.0.33:8081/' // yy
// const baseUrl = 'http://192.168.0.25:8081' // jj
src/views/charts/index.vue
@@ -282,16 +282,6 @@
                    },
                  })
                }
              } else if (lockLength < data[i].deviceData.length) {
                newLineChartData.series.push({
                  data: [],
                  name: '',
                  type: 'line',
                  label: {
                    show: true,
                    position: 'top',
                  },
                })
              } else {
                newLineChartData.series.push({
                  data: [],