diff --git a/src/components/repository/ExportPostmanForm.tsx b/src/components/repository/ExportPostmanForm.tsx index 00bc97f..32a721d 100644 --- a/src/components/repository/ExportPostmanForm.tsx +++ b/src/components/repository/ExportPostmanForm.tsx @@ -20,6 +20,7 @@ export default function ExportPostmanForm(props: { title: string; }) { const { repoId, open, onClose, title } = props + const postmanLink = `${config.serve}/export/postman?id=${repoId}` const markdownLink = `${config.serve}/export/markdown?id=${repoId}&origin=${window.location.origin}` const docxLink = `${config.serve}/export/docx?id=${repoId}&origin=${window.location.origin}` // const pdfLink = `${config.serve}/export/pdf?id=${repoId}&origin=${window.location.origin}` @@ -32,19 +33,19 @@ export default function ExportPostmanForm(props: { {title}
false}> -
+
- Postman:
+ Postman:
- {' '} - {config.serve}/export/postman?id={repoId}{' '} + + {postmanLink} +
-
请在 Postman 中点击导入(Import),选择从链接导入(Import - From Link),输入以上链接即可。
+
点击以上链接下载,在 Postman 中点击导入(Import),选择从文件导入(Import File)下载的文件。