无人机管理后台前端(已迁走)
罗广辉
2025-07-15 854a1b4055ad64e9c2270b962806baf7fac44067
feat: env test
1 files modified
1 ■■■■ changed files
src/page/index/top/index.vue 1 ●●●● patch | view | raw | blame | history
src/page/index/top/index.vue
@@ -103,6 +103,7 @@
      }).then(() => {
        this.$store.dispatch('LogOut').then(() => {
        const env = import.meta.env.VITE_APP_ENV
          console.log(env);
          const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
           env === 'development' ? this.$router.push({ path: '/login' }):window.location.replace(`${adminUrl}#/login`)