修改bug

This commit is contained in:
‘937886381’
2024-06-03 08:57:04 +08:00
parent a5f8e72a78
commit 7a9549bc8f
3 changed files with 68 additions and 41 deletions

View File

@@ -1,16 +1,10 @@
<!--
* @Author: zhp
* @Date: 2024-04-28 13:42:51
* @LastEditTime: 2024-05-31 16:14:09
* @LastEditTime: 2024-06-03 08:55:42
* @LastEditors: zhp
* @Description:
-->
<!--
filename: Bipv.vue
author: liubin
date: 2024-04-10 15:39:54
description:
-->
<template>
<right-chart-base
@@ -31,7 +25,7 @@ export default {
data() {
const year = new Date().getFullYear();
// 城市数组的顺序必须是固定的
const cities = ["瑞昌", "邯郸",
const cities = [ "邯郸",
// "株洲", "佳木斯", "成都", "凯盛", "蚌埠"
];
@@ -80,15 +74,15 @@ export default {
return [
{
name: `${new Date().getFullYear()}年目标值`,
data: bipvOutput.target,
data: bipvOutput.target.splice(0, 1),
},
{
name: `${new Date().getFullYear() - 1}`,
data: bipvOutput.previous,
data: bipvOutput.previous.splice(0, 1)
},
{
name: `${new Date().getFullYear()}`,
data: bipvOutput.current,
data: bipvOutput.current.splice(0, 1),
},
];
},