From f85006844550bd25c98fcbe841b903ff4d98761e Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 20 Jan 2026 09:06:50 +0800
Subject: [PATCH] feat:éšćć€ç
---
applications/drone-command/src/mac/index.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/applications/drone-command/src/mac/index.vue b/applications/drone-command/src/mac/index.vue
index 0d7f386..675df91 100644
--- a/applications/drone-command/src/mac/index.vue
+++ b/applications/drone-command/src/mac/index.vue
@@ -69,6 +69,7 @@
return {
app: false,
timeString: '',
+ timeTimer: null,
}
},
computed: {
@@ -116,6 +117,12 @@
this.startTimer()
this.$store.dispatch('GetMenu')
},
+ beforeDestroy () {
+ if (this.timeTimer) {
+ clearInterval(this.timeTimer)
+ this.timeTimer = null
+ }
+ },
methods: {
switchTheme () {
this.$store.commit('SET_THEME_NAME', '')
--
Gitblit v1.9.3