diff --git a/src/helper/apis.js b/src/helper/apis.js index 9866354c..b9b2f632 100644 --- a/src/helper/apis.js +++ b/src/helper/apis.js @@ -105,6 +105,10 @@ export default { updateAvatar (data) { return $ajax.post(requestUrl('updateAvatar'), data) }, + + removeUserById (data) { + return $ajax.post(requestUrl('removeUserById'), data) + }, // ---------------------Config----------------------- getSysConf (data) { return $ajax.get(requestUrl('getSysConf'), data) diff --git a/src/views/manage/Users.vue b/src/views/manage/Users.vue index 2c9ad35a..44b2e26e 100644 --- a/src/views/manage/Users.vue +++ b/src/views/manage/Users.vue @@ -34,9 +34,6 @@