bill 2 anni fa
parent
commit
154b829b49
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()
     }