diff --git a/packages/plugins/map/src/client/components/ReadPretty.tsx b/packages/plugins/map/src/client/components/ReadPretty.tsx index e6b2e51da..f96884dbd 100644 --- a/packages/plugins/map/src/client/components/ReadPretty.tsx +++ b/packages/plugins/map/src/client/components/ReadPretty.tsx @@ -1,5 +1,5 @@ import { useField, useFieldSchema } from '@formily/react'; -import { useCollection } from '@nocobase/client'; +import { EllipsisWithTooltip, useCollection } from '@nocobase/client'; import React, { useEffect } from 'react'; import AMapComponent from './AMap'; @@ -19,12 +19,10 @@ const ReadPretty = (props) => { if (!readOnly) return ( -
- {value?.map((item) => (Array.isArray(item) ? `(${item.join(',')})` : item)).join(',')} +
+ + {value?.map((item) => (Array.isArray(item) ? `(${item.join(',')})` : item)).join(',')} +
);