diff --git a/frontend/src/components/v-charts/components/Line.vue b/frontend/src/components/v-charts/components/Line.vue
index 5ee19443a..72a43d7a6 100644
--- a/frontend/src/components/v-charts/components/Line.vue
+++ b/frontend/src/components/v-charts/components/Line.vue
@@ -149,11 +149,11 @@ function initChart() {
z: 1,
tooltip: props.option.tooltip || {
trigger: 'axis',
- formatter: function (datas: any) {
- let res = datas[0].name + '
';
+ formatter: function (dataList: any) {
+ let res = dataList[0].name + '
';
switch (props.option.formatStr) {
case 'KB/s':
- for (const item of datas) {
+ for (const item of dataList) {
res +=
item.marker +
' ' +
@@ -164,7 +164,7 @@ function initChart() {
}
break;
case 'KB':
- for (const item of datas) {
+ for (const item of dataList) {
res +=
item.marker +
' ' +
@@ -175,7 +175,7 @@ function initChart() {
}
break;
case 'MB':
- for (const item of datas) {
+ for (const item of dataList) {
res +=
item.marker +
' ' +
@@ -186,7 +186,7 @@ function initChart() {
}
break;
default:
- for (const item of datas) {
+ for (const item of dataList) {
res +=
item.marker +
' ' +