Parcourir la source

iframe 属性调整

Ryuiso il y a 7 mois
Parent
commit
9d20a8b463
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {