From a76e5158764fbcc8cdc53553bbfd747de1e10680 Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 25 Apr 2023 10:52:11 +0800 Subject: [PATCH] fix: renderLink --- src/components/Table/src/hooks/useRender.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table/src/hooks/useRender.ts b/src/components/Table/src/hooks/useRender.ts index eee214e3..bb52dabf 100644 --- a/src/components/Table/src/hooks/useRender.ts +++ b/src/components/Table/src/hooks/useRender.ts @@ -24,7 +24,7 @@ export const useRender = { */ renderLink: (url, text?) => { if (url) { - return h(Button, { type: 'link', href: text }, () => text || '') + return h(Button, { type: 'link', href: url, target: '_blank' }, () => text || '') } return '' },