Iframe 组件
基础用法
点击查看示例代码
vue
<template>
<h-iframe-v1 :h_data="h_data"></h-iframe-v1>
</template>
<script setup>
const h_data = {
component: 'h-iframe-v1',
content: 'https://cn.vuejs.org/'
}
</script>
<template>
<h-iframe-v1 :h_data="h_data"></h-iframe-v1>
</template>
<script setup>
const h_data = {
component: 'h-iframe-v1',
content: 'https://cn.vuejs.org/'
}
</script>
基础用法iframe-v2
点击查看示例代码
vue
<template>
<h-iframe-v2 :h_data="h_data"></h-iframe-v2>
</template>
<script setup>
const h_data = {
component: 'h-iframe-v2',
content: 'https://cn.vuejs.org/'
}
</script>
<template>
<h-iframe-v2 :h_data="h_data"></h-iframe-v2>
</template>
<script setup>
const h_data = {
component: 'h-iframe-v2',
content: 'https://cn.vuejs.org/'
}
</script>