diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 91b0f394..b4cc38b1 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -408,22 +408,22 @@ export const getProgress = () => { // 分页查询自定义分词 export const getCustomWordsPage = (params) => { - return getRequest(`/manager/custom-words`, params); + return getRequest(`/custom-words/page`, params); }; // 添加自定义分词 export const insertCustomWords = (params) => { - return postRequest(`/manager/custom-words`, params); + return postRequest(`/custom-words`, params); }; // 修改自定义分词 export const updateCustomWords = (params) => { - return putRequest(`/manager/custom-words`, params); + return putRequest(`/custom-words`, params); }; // 删除自定义分词 export const delCustom = (id) => { - return deleteRequest(`/manager/custom-words/${id}`); + return deleteRequest(`/custom-words/${id}`); }; // 设置热搜词 diff --git a/manager/src/views/sys/user-manage/userManage.vue b/manager/src/views/sys/user-manage/userManage.vue index b6a0e4ce..e77498f3 100644 --- a/manager/src/views/sys/user-manage/userManage.vue +++ b/manager/src/views/sys/user-manage/userManage.vue @@ -413,6 +413,7 @@ export default { }, // 重置密码 resetPass() { + if(this.selectCount==0) {this.$Message.warning('请选中数据后重试!'); return} this.$Modal.confirm({ title: "确认重置", content: