diff --git a/components/apolloTable/component/base/detail/text-link/index.tsx b/components/apolloTable/component/base/detail/text-link/index.tsx index eff6e9b7316574bbbe5716354803c53848b79758..9997740dff6c5223a7fd0754c362b91b3e418a3e 100644 --- a/components/apolloTable/component/base/detail/text-link/index.tsx +++ b/components/apolloTable/component/base/detail/text-link/index.tsx @@ -8,7 +8,8 @@ export const ApolloTextLinkDetail = (props: any) => { const { value, origin, formatter } = props; const newValue = formatter ? formatter(value) : value; if (!newValue) return null; - const arr = newValue.split(','); + // 以逗号分隔 + const arr = newValue.replace(/,/g, ',').split(','); const [dotVisible, setDotVisible] = useState(false); const outer = useRef(null); const inner = useRef(null);