From 9e74813bb5f93230dda8c5e49ebbb6f8495ab0f7 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 02 Dec 2024 16:50:31 +0800
Subject: [PATCH] 清理provide
---
src/App.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index c2afb56..1449b6e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -2,7 +2,7 @@
* @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:
*
@@ -16,6 +16,9 @@
provide("echarts", echarts)
+onUnmounted(() => {
+ echarts.cleanup() // 清理服务
+})
</script>
<template>
--
Gitblit v1.9.3