From 541b092691582c4d183f0c55e8566c124159368c Mon Sep 17 00:00:00 2001 From: MiLla <18826902282@163.com> Date: Sat, 6 Jul 2024 06:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=94=E7=A4=BA=E7=89=88=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/authenticationService.js | 4 +- .../Organization_main.vue | 80 +++++++++---------- 2 files changed, 41 insertions(+), 43 deletions(-) diff --git a/src/services/authenticationService.js b/src/services/authenticationService.js index 0f312a5..13b414c 100644 --- a/src/services/authenticationService.js +++ b/src/services/authenticationService.js @@ -2,7 +2,7 @@ import axios from "axios"; export default { login(account, password){ - const url = `http://localhost:8080/users/checkLogin` + const url = `api/users/checkLogin` const data = { account: account, password: password @@ -13,7 +13,7 @@ export default { }); }, register(user){ - const url = `http://localhost:8080/users/checkRegister` + const url = `api/users/checkRegister` return axios.post(url, user) .then(response => { return response.data; diff --git a/src/views/organization-management/Organization_main.vue b/src/views/organization-management/Organization_main.vue index b9bd97a..ef875f2 100644 --- a/src/views/organization-management/Organization_main.vue +++ b/src/views/organization-management/Organization_main.vue @@ -1,10 +1,5 @@ - - 登录界面 - Hello world - 部门管理 - @@ -101,43 +96,13 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -