diff --git a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue index 04a3e10b7..bf2945f95 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/chartRightBox.vue @@ -580,6 +580,11 @@ export default { result: '' } } + if (obj.type === 'group' && !obj.param.repeat) { + obj.param.repeat = { + variable: '' + } + } // this.editChart.varType = 1 if (obj.param.enable.legend && !obj.param.legend) { obj.param.legend = { placement: 'bottom', values: [], show: true } diff --git a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue index 159ebc567..3ed9642d7 100644 --- a/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue +++ b/nezha-fronted/src/components/common/rightBox/chart/otherChartConfig.vue @@ -247,6 +247,46 @@ + +
+
+ {{$t('dashboard.repeat')}} + +
+ +
+ + + + + + +
+
+
@@ -320,7 +360,8 @@ export default { link: this.chartConfig.param.link, collapse: true, enable: { - visibility: false + visibility: false, + repeat: false }, showHeader: this.chartConfig.param.showHeader, visibility: { @@ -328,6 +369,9 @@ export default { operator: 'equal', varValue: '', result: 'show' + }, + repeat: { + variable: '' } } break diff --git a/nezha-fronted/src/components/common/rightBox/panelBox.vue b/nezha-fronted/src/components/common/rightBox/panelBox.vue index 9e2ed9032..b9bdae622 100644 --- a/nezha-fronted/src/components/common/rightBox/panelBox.vue +++ b/nezha-fronted/src/components/common/rightBox/panelBox.vue @@ -309,6 +309,7 @@ {{item.name}} + @{{item.username}} diff --git a/nezha-fronted/src/components/common/table/settings/backupsTable.vue b/nezha-fronted/src/components/common/table/settings/backupsTable.vue index dcf9554b7..8029ee419 100644 --- a/nezha-fronted/src/components/common/table/settings/backupsTable.vue +++ b/nezha-fronted/src/components/common/table/settings/backupsTable.vue @@ -50,26 +50,30 @@ -
- -
- +
+ + +
+
- + + {{$t('backup.RestoreNow')}} + + + + +