Vue中创建快速加载的非阻塞iframe
<template>
<iframe :src="url" width="100%" height="500px" loading="lazy"></iframe>
</template>
<script>
export default {
data() {
return {
url: 'https://www.example.com'
}
}
}
</script>
Vue中创建快速加载的非阻塞iframe
<template>
<iframe :src="url" width="100%" height="500px" loading="lazy"></iframe>
</template>
<script>
export default {
data() {
return {
url: 'https://www.example.com'
}
}
}
</script>
本文由 用户 于 2023-03-24 发布在 夸智网,如有疑问,请联系我们。
本文链接:https://www.kuazhi.com/post/362361.html
发表评论