fix: bug
parent
bfd14bed5f
commit
1ff1a839ee
|
|
@ -32,6 +32,7 @@ import {
|
|||
} from "~/enumerate/enterpriseOptions";
|
||||
import { NS_ORG_INFO } from "~/enumerate/namespace";
|
||||
import AttachmentUpload from "~/components/AttachmentUpload";
|
||||
import PreviewUrlButton from "~/components/PreviewUrlButton";
|
||||
import { safeListRequest, safeRequest } from "~/utils";
|
||||
import {
|
||||
creditCodeRule,
|
||||
|
|
@ -441,9 +442,9 @@ function OrgAccountPage(props) {
|
|||
}
|
||||
if (!files.length) return "-";
|
||||
return files.map((f, i) => (
|
||||
<a key={i} href={f.url} target="_blank" rel="noreferrer" style={{ marginRight: 8 }}>
|
||||
<PreviewUrlButton key={i} url={f.url} size="small">
|
||||
{f.name || f.url}
|
||||
</a>
|
||||
</PreviewUrlButton>
|
||||
));
|
||||
})()}
|
||||
</Descriptions.Item>
|
||||
|
|
|
|||
Loading…
Reference in New Issue