前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
<template> <div class="chart-container"> <chart height="100%" width="100%" /> </div> </template> <script> import Chart from '@/components/Charts/Keyboard' export default { name: 'KeyboardChart', components: { Chart } } </script> <style scoped> .chart-container{ position: relative; width: 100%; height: calc(100vh - 84px); } </style>