diff --git a/nezha-fronted/src/components/charts/chart-list.vue b/nezha-fronted/src/components/charts/chart-list.vue index ac40dcc7b..1eb957c34 100644 --- a/nezha-fronted/src/components/charts/chart-list.vue +++ b/nezha-fronted/src/components/charts/chart-list.vue @@ -416,7 +416,7 @@ item.isHide=false; chartListTmp.push(item); }else{ - item.isLoaded = false; + item.isLoaded = true; item.isHide=true; chartListTmp.push(item); } diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 994843289..709d82caa 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -224,6 +224,7 @@ this.toAdd(); return false; } + this.filter.searchName=''; //this.$refs.searchInput.select(); this.showPanel = val this.filter.panelId = this.showPanel.id;