Skip to content

Commit 6e9a4a0

Browse files
committed
fix 用户管理角色分配弹窗出不来
1 parent 0b89318 commit 6e9a4a0

File tree

1 file changed

+2
-2
lines changed
  • flash-vue-admin/src/views/system/user

1 file changed

+2
-2
lines changed

flash-vue-admin/src/views/system/user/user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { deleteUser, getList, saveUser, remove, setRole, changeStatus,resetPassword } from '@/api/system/user'
22
import deptApi from '@/api/system/dept'
33
import { parseTime } from '@/utils/index'
4-
import { roleTreeListByIdUser } from '@/api/system/role'
4+
import roleApi from '@/api/system/role'
55
// 权限判断指令
66
import permission from '@/directive/permission/index.js'
77

@@ -309,7 +309,7 @@ export default {
309309
},
310310
openRole() {
311311
if (this.checkSel()) {
312-
roleTreeListByIdUser(this.selRow.id).then(response => {
312+
roleApi.roleTreeListByIdUser(this.selRow.id).then(response => {
313313
this.roleDialog.roles = response.data.treeData
314314
this.roleDialog.checkedRoleKeys = response.data.checkedIds
315315
this.roleDialog.visible = true

0 commit comments

Comments
 (0)