Pārlūkot izejas kodu

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

puhui999 2 gadi atpakaļ
vecāks
revīzija
cc41c20709
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 menuPermissionFormRef = ref()
 const handleScope = async (type: string, row: RoleApi.RoleVO) => {
 const handleScope = async (type: string, row: RoleApi.RoleVO) => {
-  menuPermissionFormRef.value.openForm(type, row)
+  menuPermissionFormRef.value.openModal(type, row)
 }
 }
 
 
 /** 删除按钮操作 */
 /** 删除按钮操作 */