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]: '',