Skip to content

Commit

Permalink
Fix request configuration in serviceGenerator.ts by changing the spre…
Browse files Browse the repository at this point in the history
…ad operator to direct config usage. This adjustment simplifies the generated service method's configuration handling.
  • Loading branch information
snoopy1412 committed Jan 6, 2025
1 parent f3eefc8 commit 53f5ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/serviceGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function generateServiceMethod(
}

// 添加配置展开
requestConfig.push(" ...config");
requestConfig.push(" config");

return `
/**
Expand Down

0 comments on commit 53f5ac2

Please sign in to comment.