diff --git a/src/views/statistics/Statistics/statistics/index.vue b/src/views/statistics/Statistics/statistics/index.vue index 0c060bb..c79bbc8 100644 --- a/src/views/statistics/Statistics/statistics/index.vue +++ b/src/views/statistics/Statistics/statistics/index.vue @@ -201,14 +201,14 @@ const commonOptions = { let str = arr[0] return str } - // if (index === xDataLength - 1) { - // let arr = value.split(' ') - // arr[0] = arr[0] + ' ' - // // arr[1] = arr[1] + ' ' - // // let str = arr.join('\n') - // let str = arr[0] - // return str - // } + if (index === xDataLength - 1) { + let arr = value.split(' ') + arr[0] = arr[0] + ' ' + // arr[1] = arr[1] + ' ' + // let str = arr.join('\n') + let str = arr[0] + return str + } return val }, }, @@ -397,6 +397,7 @@ export default { ...params, }) if (success) { + // let result = jsonData.result this.spinning = false this.$set(this.itemTitle, id, result.STATION_NAME) if (result.CollectStart.length < 1) { @@ -425,13 +426,10 @@ export default { type: 'line', name: key, smooth: true, + showSymbol: true, + symbolSize: 6, symbol: this.symbolList[num_symbol], animation: false, - lineStyle: { - normal: { - width: 2, - }, - }, data: element, } series.push(param)