IframeConstellationDiagram.vue
Some checks failed
/ build-and-deploy-to-vercel (push) Successful in 2m59s
/ lint-build-and-check (push) Successful in 4m38s
/ surge (push) Successful in 2m41s
/ playwright (push) Failing after 6m24s

This commit is contained in:
严浩
2025-04-09 18:07:11 +08:00
parent 4e56d311f1
commit 318fa4ea33
2 changed files with 1 additions and 4 deletions

View File

@ -92,9 +92,6 @@ watch(
<style scoped>
iframe {
width: 100%; /* 让 iframe 宽度充满容器 */
height: 100%; /* 让 iframe 高度充满容器 */
display: block; /* 避免可能的底部空白 */
border: none; /* 移除边框 */
}
</style>

View File

@ -14,5 +14,5 @@ const data: Array<[number, number]> = [
</script>
<template>
<IframeConstellationDiagram :data />
<IframeConstellationDiagram :data style="width: 300px; height: 300px" />
</template>