dev-tmp1
zhanglei 2026-08-18 16:15:04 +08:00
parent bfd14bed5f
commit 1ff1a839ee
1 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@ import {
} from "~/enumerate/enterpriseOptions"; } from "~/enumerate/enterpriseOptions";
import { NS_ORG_INFO } from "~/enumerate/namespace"; import { NS_ORG_INFO } from "~/enumerate/namespace";
import AttachmentUpload from "~/components/AttachmentUpload"; import AttachmentUpload from "~/components/AttachmentUpload";
import PreviewUrlButton from "~/components/PreviewUrlButton";
import { safeListRequest, safeRequest } from "~/utils"; import { safeListRequest, safeRequest } from "~/utils";
import { import {
creditCodeRule, creditCodeRule,
@ -441,9 +442,9 @@ function OrgAccountPage(props) {
} }
if (!files.length) return "-"; if (!files.length) return "-";
return files.map((f, i) => ( 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} {f.name || f.url}
</a> </PreviewUrlButton>
)); ));
})()} })()}
</Descriptions.Item> </Descriptions.Item>