兰宝车间质量管理系统-前端
LiuHao
2023-04-02 251d2411f235e23209d57173857e05b637729ce8
src/components/iFrame/index.vue
@@ -1,14 +1,4 @@
<template>
  <div v-loading="loading" :style="'height:' + height">
    <iframe
      :src="url"
      frameborder="no"
      style="width: 100%; height: 100%"
      scrolling="auto" />
  </div>
</template>
<script setup>
<script setup lang="ts">
const props = defineProps({
  src: {
    type: String,
@@ -29,3 +19,9 @@
  };
})
</script>
<template>
   <div v-loading="loading" :style="'height:' + height">
      <iframe :src="url" frameborder="no" style="width: 100%; height: 100%" scrolling="auto" />
   </div>
</template>