智慧园区前端大屏
shuishen
2024-12-18 9a37c5e1b2190c3f6ec71483923922189091dd52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!--
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 10:56:27
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-29 23:26:21
 * @FilePath: \bigScreen\src\App.vue
 * @Description: 
 * 
 * Copyright (c) 2024 by shuishen, All Rights Reserved. 
-->
<script setup>
 
import { provide } from 'vue'
 
import * as echarts from 'echarts'
 
provide("echarts", echarts)
 
onUnmounted(() => {
  echarts.cleanup() // 清理服务
})
</script>
 
<template>
  <div class="wrapper-container">
    <router-view />
  </div>
</template>
 
<style scoped>
.wrapper-container {
  width: 100%;
  height: 100%;
}
</style>