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