IframeConstellationDiagram.vue
This commit is contained in:
@ -92,9 +92,6 @@ watch(
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%; /* 让 iframe 宽度充满容器 */
|
|
||||||
height: 100%; /* 让 iframe 高度充满容器 */
|
|
||||||
display: block; /* 避免可能的底部空白 */
|
|
||||||
border: none; /* 移除边框 */
|
border: none; /* 移除边框 */
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -14,5 +14,5 @@ const data: Array<[number, number]> = [
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<IframeConstellationDiagram :data />
|
<IframeConstellationDiagram :data style="width: 300px; height: 300px" />
|
||||||
</template>
|
</template>
|
||||||
|
Reference in New Issue
Block a user