Browse Source

update:修复角色管理打不开权限表单的问题

puhui999 2 years ago
parent
commit
cc41c20709
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/system/role/index.vue

+ 1 - 1
src/views/system/role/index.vue

@@ -204,7 +204,7 @@ const openForm = (type: string, id?: number) => {
 /** 数据权限操作 */
 const menuPermissionFormRef = ref()
 const handleScope = async (type: string, row: RoleApi.RoleVO) => {
-  menuPermissionFormRef.value.openForm(type, row)
+  menuPermissionFormRef.value.openModal(type, row)
 }
 
 /** 删除按钮操作 */