吉安感知网项目-前端
张含笑
2026-02-09 cb4647518e9b8a8e8189c03670d000f99c1a1732
applications/drone-command/src/page/index/top/index.vue
@@ -93,7 +93,11 @@
        cancelButtonClass: 'command-message-box-cancel',
      }).then(() => {
        this.$store.dispatch('LogOut').then(() => {
               this.$router.push({ path: '/login' })
               const {VITE_APP_PARENT_SYSTEM,VITE_APP_ENV} = import.meta.env
               const isDev = VITE_APP_ENV === 'development'
               isDev
                  ? this.$router.push({ path: '/login' })
                  : window.location.replace(`${VITE_APP_PARENT_SYSTEM}/#/login`)
        })
      })
    },