Browse Source

修改需求

bill 2 năm trước cách đây
mục cha
commit
154b829b49
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/role/list.vue

+ 1 - 1
src/views/role/list.vue

@@ -66,7 +66,7 @@ const setRole = (role?: Role) => {
       if (role.roleId) {
         await updateRole(role as Role)
       } else {
-        await addRole(params.projectId)
+        await addRole(params.projectId, role)
       }
       await updateList()
     }