From 4effdd9ae90c93a95d7fb8d0092563eeedab7dde Mon Sep 17 00:00:00 2001
From: xingyuv <xingyu4j@vip.qq.com>
Date: Tue, 21 Mar 2023 17:04:43 +0800
Subject: [PATCH] feat: init

---
 src/api/infra/dbDoc/index.ts    | 6 +++---
 src/views/base/iframe/index.vue | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/infra/dbDoc/index.ts b/src/api/infra/dbDoc/index.ts
index c715407..45a78e9 100644
--- a/src/api/infra/dbDoc/index.ts
+++ b/src/api/infra/dbDoc/index.ts
@@ -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' })
 }
diff --git a/src/views/base/iframe/index.vue b/src/views/base/iframe/index.vue
index 0b61e1e..245e7eb 100644
--- a/src/views/base/iframe/index.vue
+++ b/src/views/base/iframe/index.vue
@@ -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')