无人机管理后台前端(已迁走)
张含笑
2025-06-10 b428a0a5caa6be526bdbe06e96cc761bc0ab138f
Merge branch 'refs/heads/master' into feature/v2.0.0/后台管理数据中心
2 files modified
5 ■■■■■ changed files
src/page/index/top/index.vue 2 ●●● patch | view | raw | blame | history
vite.config.mjs 3 ●●●● patch | view | raw | blame | history
src/page/index/top/index.vue
@@ -108,7 +108,7 @@
    },
    jumpMH () {
      const adminUrl = import.meta.env.VITE_APP_DASHBOARD_URL
          window.open(`${adminUrl}#/wel/gatewayPage`, '_blank')
          window.open(`${adminUrl}#/gatewayPage`, '_blank')
    },
  },
}
vite.config.mjs
@@ -40,8 +40,7 @@
      // host: '192.168.1.178',
      proxy: {
        '/api': {
           target: 'http://localhost',
          // target: VITE_APP_URL,
          target: VITE_APP_URL,
          changeOrigin: true,
          rewrite: path => path.replace(/^\/api/, ''),
        },