From 2da42ab386596c67e6cf1d594b6f3c0fc07ce6dd Mon Sep 17 00:00:00 2001 From: dhb52 Date: Wed, 15 May 2024 00:27:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Bucket=E9=87=87=E7=94=A8gird=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/pods/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/pods/index.vue b/src/views/pods/index.vue index e0279bd..c6ae23a 100644 --- a/src/views/pods/index.vue +++ b/src/views/pods/index.vue @@ -83,18 +83,18 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP const buckets = (slice?: number) => { const consumerBuckets = slice ? row.consumerBuckets?.slice(0, slice) : row.consumerBuckets; return consumerBuckets?.map(bucket => ( - + {bucket} )); }; const path = () => { - return {row.contextPath}; + return {row.contextPath ?? '/'}; }; return row.nodeType === 1 ? ( - <>path: {path()} + <>Path: {path()} ) : ( <> Bucket: @@ -103,7 +103,7 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP {{ trigger: () => ..., default: () => { - return
{buckets()}
; + return
{buckets()}
; } }}