From e8f1528a808f7937fe5128aed1e5deb21eac165b Mon Sep 17 00:00:00 2001 From: xingyu Date: Fri, 19 May 2023 11:35:30 +0800 Subject: [PATCH] fix: renderImg --- 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 aa5f49c6..57eaa468 100644 --- a/src/components/Table/src/hooks/useRender.ts +++ b/src/components/Table/src/hooks/useRender.ts @@ -17,7 +17,7 @@ export const useRender = { if (isArray(text)) { return h(TableImg, { imgList: text }) } else { - return h(TableImg, { imgList: text.split(',,,,,,') }) + return h(TableImg, { imgList: [text] }) } } return ''