From 3367f392c34e4eca4af96eb1d51ae1c6bd642455 Mon Sep 17 00:00:00 2001 From: colton <1679963578@qq.com> Date: Mon, 12 Aug 2024 13:55:55 +0800 Subject: [PATCH] feat:add share --- public/share.svg | 1 + src/components/ATable.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 public/share.svg diff --git a/public/share.svg b/public/share.svg new file mode 100644 index 0000000..6abd0d7 --- /dev/null +++ b/public/share.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/ATable.tsx b/src/components/ATable.tsx index e413b34..40f0238 100644 --- a/src/components/ATable.tsx +++ b/src/components/ATable.tsx @@ -34,7 +34,7 @@ const ATable: FC = ({ header = [], data = [], loading }) => { data-tooltip-id="my-tooltip" data-tooltip-content={item.fileName} data-tooltip-delay-hide={100} - data-tooltip-place='top-start' className="w-[200px] pl-2 h-[40px] flex items-center">{truncateMiddle(item.fileName, 5, 5)} + data-tooltip-place='top-start' className="w-[230px] pl-2 h-[40px] flex items-center">{truncateMiddle(item.fileName, 5, 5)}
{truncateMiddle(item.bagId, 5, 5)}
{timestampToDateTime(Number(item.uploadDate))}
{truncateMiddle(item.from, 5, 5)}
-
+
+