From 049e8f46a2fa26dcb1e965e969d63ce040d46799 Mon Sep 17 00:00:00 2001 From: yulixing Date: Thu, 18 Jul 2019 20:25:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=88=A0=E9=99=A4api?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.js | 3 +++ src/views/common/login.vue | 1 - vue.config.js | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api/user.js b/src/api/user.js index 681dc65..5c0ece4 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -31,6 +31,9 @@ export function delUser(data) { return request({ url: `/ldap-user-manage/${id}/`, method: 'delete', + data: { + o: 'pop-sys' + } }) } diff --git a/src/views/common/login.vue b/src/views/common/login.vue index b99403f..73d8cb6 100644 --- a/src/views/common/login.vue +++ b/src/views/common/login.vue @@ -66,7 +66,6 @@ 没有账号? 去注册! diff --git a/vue.config.js b/vue.config.js index f366e9a..682c10f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -47,7 +47,7 @@ module.exports = { }, }, [process.env.VUE_APP_LDAP_API]: { - target: `https://ops.kingsome.cn/api`, + target: `http://192.168.100.206:8000/api`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_LDAP_API]: '',