Fix the snapshot charts (#474)

This commit is contained in:
Fine0830 2025-06-18 16:31:44 +08:00 committed by GitHub
parent 35a1ff9b24
commit c5e45ab97a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,11 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. --> limitations under the License. -->
<template> <template>
<LineChart <div :style="{ width: `800px`, height: `${metrics.length * 300}px` }">
:intervalTime="appStore.intervalTime" <LineChart :intervalTime="appStore.intervalTime" :data="metrics" />
:data="metrics" </div>
:style="{ width: `800px`, height: `${metrics.length * 300}px` }"
/>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from "vue"; import { computed } from "vue";