From 5b2a25025b4426b969f01883201138a51f8b5837 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 01 十二月 2023 11:38:35 +0800 Subject: [PATCH] 公共图表头部组件开发+安装echarts 全局引入 --- src/views/cockpitPage/index.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/cockpitPage/index.vue b/src/views/cockpitPage/index.vue index ffaeb1d..b9dc0ea 100644 --- a/src/views/cockpitPage/index.vue +++ b/src/views/cockpitPage/index.vue @@ -1,12 +1,18 @@ <template> - <BackgroundBoardLayout></BackgroundBoardLayout> + <BackgroundBoardLayout> + <template #rightBlock3> + <BarChart @should-reload="reloadAllData"></BarChart> + </template> + </BackgroundBoardLayout> </template> <script> import BackgroundBoardLayout from "@/components/cockpitPage/BackgroundBoardLayout.vue"; +import BarChart from "@/components/cockpitPage/BarChart.vue"; export default { components: { BackgroundBoardLayout, + BarChart, }, props: {}, data() { -- Gitblit v1.8.0