From 0b5231c1d5ec3af4e6f75d80da6ffe350567843d Mon Sep 17 00:00:00 2001
From: wangjuncheng <1>
Date: 星期五, 23 五月 2025 13:53:38 +0800
Subject: [PATCH] change

---
 src/components/menu/Device.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/menu/Device.vue b/src/components/menu/Device.vue
index b909ffc..bd23511 100644
--- a/src/components/menu/Device.vue
+++ b/src/components/menu/Device.vue
@@ -40,12 +40,12 @@
   initeWaterPrimitiveView()
 });
 
-// onBeforeRouteUpdate((to, from, next) => {
-//   if (to.path !== '/zhjc') {
-//     handleCleanup();
-//   }
-//   next();
-// });
+onBeforeRouteUpdate((to, from, next) => {
+  if (to.path !== '/zhjc') {
+    handleCleanup();
+  }
+  next();
+});
 const route = useRoute();
 
 onBeforeUnmount(() => {

--
Gitblit v1.9.3