src/App.vue
@@ -2,13 +2,23 @@ * @Author: shuishen 1109946754@qq.com * @Date: 2024-10-25 10:56:27 * @LastEditors: shuishen 1109946754@qq.com * @LastEditTime: 2024-10-25 17:42:09 * @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>