diff --git a/nezha-fronted/src/components/page/dashboard/panel.vue b/nezha-fronted/src/components/page/dashboard/panel.vue index 660422fe5..cfc0415a9 100644 --- a/nezha-fronted/src/components/page/dashboard/panel.vue +++ b/nezha-fronted/src/components/page/dashboard/panel.vue @@ -7,7 +7,7 @@
-
+
@@ -557,7 +557,10 @@ export default { } else { this.showPanel.id = '' this.filter.panelId = '' - this.isLoading = false + this.isLoading = true + if (response.data.list.length == 0) { + this.showPanel = false + } } this.pageObj.total = response.data.total if (!isInitData && (this.panel.id === '' || this.panel.id === this.showPanel.id)) {