fix: 修复配额说明重复和undefined问题
- 在editStorageForm中初始化oss_storage_quota_value和oss_quota_unit - 删除重复的旧配额说明块,保留新的当前配额设置显示 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
29
backend/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
generated
vendored
Normal file
29
backend/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
||||
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
||||
import { ruleSet } from "./ruleset";
|
||||
const cache = new EndpointCache({
|
||||
size: 50,
|
||||
params: [
|
||||
"Accelerate",
|
||||
"Bucket",
|
||||
"DisableAccessPoints",
|
||||
"DisableMultiRegionAccessPoints",
|
||||
"DisableS3ExpressSessionAuth",
|
||||
"Endpoint",
|
||||
"ForcePathStyle",
|
||||
"Region",
|
||||
"UseArnRegion",
|
||||
"UseDualStack",
|
||||
"UseFIPS",
|
||||
"UseGlobalEndpoint",
|
||||
"UseObjectLambdaEndpoint",
|
||||
"UseS3ExpressControlEndpoint",
|
||||
],
|
||||
});
|
||||
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
||||
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
||||
endpointParams: endpointParams,
|
||||
logger: context.logger,
|
||||
}));
|
||||
};
|
||||
customEndpointFunctions.aws = awsEndpointFunctions;
|
||||
Reference in New Issue
Block a user