吉安感知网项目-前端
张含笑
2026-01-20 72ef22c566aa69d41197bcf39fc5e819c885594c
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', '')