wangjuncheng
2025-05-23 0b5231c1d5ec3af4e6f75d80da6ffe350567843d
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(() => {