feat: init
parent
4f5a0c5fe7
commit
4effdd9ae9
|
@ -2,15 +2,15 @@ import { defHttp } from '@/utils/http/axios'
|
||||||
|
|
||||||
// 导出Html
|
// 导出Html
|
||||||
export const exportHtmlApi = () => {
|
export const exportHtmlApi = () => {
|
||||||
return defHttp.download({ url: '/infra/db-doc/export-html' }, '数据库.html')
|
return defHttp.get({ url: '/infra/db-doc/export-html' })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出Word
|
// 导出Word
|
||||||
export const exportWordApi = () => {
|
export const exportWordApi = () => {
|
||||||
return defHttp.download({ url: '/infra/db-doc/export-word' }, '数据库.doc')
|
return defHttp.get({ url: '/infra/db-doc/export-word' })
|
||||||
}
|
}
|
||||||
|
|
||||||
// 导出Markdown
|
// 导出Markdown
|
||||||
export const exportMarkdownApi = () => {
|
export const exportMarkdownApi = () => {
|
||||||
return defHttp.download({ url: '/infra/db-doc/export-markdown' }, '数据库.md')
|
return defHttp.get({ url: '/infra/db-doc/export-markdown' })
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ defineProps({
|
||||||
const loading = ref(true)
|
const loading = ref(true)
|
||||||
const topRef = ref(50)
|
const topRef = ref(50)
|
||||||
const heightRef = ref(window.innerHeight)
|
const heightRef = ref(window.innerHeight)
|
||||||
const frameRef = ref<HTMLFrameElement>()
|
const frameRef = ref<HTMLElement>()
|
||||||
const { headerHeightRef } = useLayoutHeight()
|
const { headerHeightRef } = useLayoutHeight()
|
||||||
|
|
||||||
const { prefixCls } = useDesign('iframe-page')
|
const { prefixCls } = useDesign('iframe-page')
|
||||||
|
|
Loading…
Reference in New Issue