feat: init

pull/1/MERGE
xingyuv 2023-03-21 17:04:43 +08:00
parent 4f5a0c5fe7
commit 4effdd9ae9
2 changed files with 4 additions and 4 deletions

View File

@ -2,15 +2,15 @@ import { defHttp } from '@/utils/http/axios'
// 导出Html
export const exportHtmlApi = () => {
return defHttp.download({ url: '/infra/db-doc/export-html' }, '数据库.html')
return defHttp.get({ url: '/infra/db-doc/export-html' })
}
// 导出Word
export const exportWordApi = () => {
return defHttp.download({ url: '/infra/db-doc/export-word' }, '数据库.doc')
return defHttp.get({ url: '/infra/db-doc/export-word' })
}
// 导出Markdown
export const exportMarkdownApi = () => {
return defHttp.download({ url: '/infra/db-doc/export-markdown' }, '数据库.md')
return defHttp.get({ url: '/infra/db-doc/export-markdown' })
}

View File

@ -21,7 +21,7 @@ defineProps({
const loading = ref(true)
const topRef = ref(50)
const heightRef = ref(window.innerHeight)
const frameRef = ref<HTMLFrameElement>()
const frameRef = ref<HTMLElement>()
const { headerHeightRef } = useLayoutHeight()
const { prefixCls } = useDesign('iframe-page')