Merge branch 'dev-tmp1' of http://47.92.113.182:3000/cq_anquan/safety-eval-service-frontend into dev-tmp1
commit
b8e631f0e3
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue