光伏功能
This commit is contained in:
@ -39,7 +39,7 @@
|
||||
column: {
|
||||
width: '10',
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
},
|
||||
@ -49,17 +49,18 @@
|
||||
},
|
||||
methods: {
|
||||
getServerData() {
|
||||
let _this = this;
|
||||
//模拟从服务器获取数据时的延时
|
||||
setTimeout(() => {
|
||||
//模拟服务器返回数据,如果数据格式和标准格式不同,需自行按下面的格式拼接
|
||||
let res = {
|
||||
categories: ["2018-10-17", "2018-10-17", "2018-10-17", "2018-10-17", "2018-10-17",
|
||||
"2018-10-17"
|
||||
categories: ["2025-10-17", "2025-10-18", "2025-10-19", "2025-10-20", "2025-10-21",
|
||||
"2025-10-22"
|
||||
],
|
||||
series: [
|
||||
|
||||
{
|
||||
|
||||
name:this.$t('homePage.home.powerGeneration'),
|
||||
textColor: "#FFFFFF",
|
||||
data: [18, 27, 21, 24, 6, 28]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user