-
@@ -254,7 +254,7 @@ export default {
if (refresh) {
this.refresh()
if (this.from === fromRoute.chartTemp) {
- this.$get('/visual/panel/chart', { ids: this.obj.id, groupId: 0 }).then(res => {
+ this.$get('/visual/panel/chart', { ids: this.obj.id }).then(res => {
res.data.list.forEach(item => {
if (!item.children) {
item.children = []
@@ -375,7 +375,7 @@ export default {
} else {
if (this.from === this.fromRoute.chartTemp) {
if (this.obj.type === 'group') {
- this.$get('/visual/panel/chart', { ids: this.obj.id, groupId: 0 }).then(res => {
+ this.$get('/visual/panel/chart', { ids: this.obj.id }).then(res => {
res.data.list.forEach(item => {
if (!item.children) {
item.children = []
diff --git a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue
index 6b2690bc4..45aa2d4b0 100644
--- a/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue
+++ b/nezha-fronted/src/components/common/rightBox/alertRuleBox.vue
@@ -1,109 +1,108 @@