diff --git a/.env.development b/.env.development index d8cd593..761feb0 100644 --- a/.env.development +++ b/.env.development @@ -8,4 +8,5 @@ VITE_PUBLIC_PATH = / VITE_APP_ENV = 'development' # 多麦管理系统/开发环境 -VITE_APP_BASE_API = 'http://192.168.0.192:8080/' +# VITE_APP_BASE_API = 'http://192.168.0.192:8080/' +VITE_APP_BASE_API = 'https://www.saas.duomailianmeng.com/srv' diff --git a/src/api/login.js b/src/api/login.js index 7b7388f..ee97960 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -46,15 +46,3 @@ export function logout() { method: 'post' }) } - -// 获取验证码 -export function getCodeImg() { - return request({ - url: '/captchaImage', - headers: { - isToken: false - }, - method: 'get', - timeout: 20000 - }) -} \ No newline at end of file diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index f4e944d..6be006f 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -30,9 +30,9 @@