pipipi-pikachu 5 年之前
父節點
當前提交
6220a73641
共有 2 個文件被更改,包括 1 次插入36 次删除
  1. 1 1
      src/components/IconFont.vue
  2. 0 35
      src/components/IframeWrapper.vue

+ 1 - 1
src/components/IconFont.vue

@@ -12,7 +12,7 @@ export default {
       type: String,
       required: true,
     },
-  }
+  },
 }
 </script>
 

+ 0 - 35
src/components/IframeWrapper.vue

@@ -1,35 +0,0 @@
-<template>
-  <iframe 
-    class="iframe-wrapper"
-    frameborder="0" 
-    allowfullscreen="true" 
-    :src="src"
-    :width="width"
-    :height="height"
-  ></iframe>
-</template>
-
-<script lang="ts">
-export default {
-  name: 'iframe-wrapper',
-  props: {
-    src: {
-      type: String,
-      required: true,
-    },
-    width: {
-      type: Number,
-    },
-    height: {
-      type: Number,
-    },
-  },
-}
-</script>
-
-<style lang="scss" scoped>
-.iframe-wrapper {
-  transform-origin: 0 0;
-  display: block;
-}
-</style>