Skip to content

Commit

Permalink
fix: 修复逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Jul 24, 2024
1 parent e43ad7f commit 3e0eea9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/uni-uts-v1/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,10 @@ export function formatUniProviderName(service: string) {
}

function formatExtApiProviderName(service: string, name: string) {
return `${formatUniProviderName(service)}${capitalize(
if (service === 'oauth') {
service = 'OAuth'
}
return `Uni${capitalize(camelize(service))}${capitalize(
camelize(name)
)}ProviderImpl`
}
Expand Down

0 comments on commit 3e0eea9

Please sign in to comment.