浏览代码

iframe 属性调整

Ryuiso 7 月之前
父节点
当前提交
9d20a8b463
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/src/views/Doc/index.vue

+ 1 - 1
web/src/views/Doc/index.vue

@@ -9,7 +9,6 @@ const docUrl = 'https://onemyriad.apifox.cn'
       <iframe
         :src="docUrl"
         class="doc-iframe"
-        frameborder="0"
         allowfullscreen
       ></iframe>
     </main>
@@ -39,6 +38,7 @@ const docUrl = 'https://onemyriad.apifox.cn'
   width: 100%;
   height: 100%;
   min-height: calc(100vh - 120px); /* 减去header和footer高度 */
+  border: none;
 }
 
 .doc-footer {