diff --git a/src/utils/index.js b/src/utils/index.js index ab985f1..94311ca 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -19,4 +19,5 @@ export const pathMap = { login: '登录', home: '项目管理', room: '房型管理', + user: '用户管理' } \ No newline at end of file diff --git a/src/views/User.vue b/src/views/User.vue index a30e38a..e4b155d 100644 --- a/src/views/User.vue +++ b/src/views/User.vue @@ -151,6 +151,7 @@ const new_user_click = () => { const edit_user_click = item => { Object.assign(user_info, item); + get_role_list(); type.value = 'edit'; adduserdialogVisible.value = true; };