diff --git a/src/views/dashboard/panel/Layout.vue b/src/views/dashboard/panel/Layout.vue index bfebc00c..9a93aae4 100644 --- a/src/views/dashboard/panel/Layout.vue +++ b/src/views/dashboard/panel/Layout.vue @@ -88,7 +88,7 @@ limitations under the License. --> const index = isNaN(item.activedTabIndex) ? 0 : item.activedTabIndex; widgets.push( ...item.children[index].children.filter( - (d: LayoutConfig) => !ListChartTypes.includes(d.graph?.type || ""), + (d: LayoutConfig) => d.type === WidgetType.Widget && !ListChartTypes.includes(d.graph?.type || ""), ), ); }