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/util-user-agent-browser/README.md
generated
vendored
Normal file
29
backend/node_modules/@aws-sdk/util-user-agent-browser/README.md
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# @aws-sdk/util-user-agent-browser
|
||||
|
||||
[](https://www.npmjs.com/package/@aws-sdk/util-user-agent-browser)
|
||||
[](https://www.npmjs.com/package/@aws-sdk/util-user-agent-browser)
|
||||
|
||||
## Usage
|
||||
|
||||
In previous versions of the AWS SDK for JavaScript v3, the AWS SDK user agent header was provided by parsing the navigator user agent string with the `bowser` library.
|
||||
|
||||
This was later changed to browser feature detection using the native Navigator APIs, but if you would like to have the previous functionality, use the following code:
|
||||
|
||||
```js
|
||||
import { createUserAgentStringParsingProvider } from "@aws-sdk/util-user-agent-browser";
|
||||
|
||||
import { S3Client } from "@aws-sdk/client-s3";
|
||||
import pkgInfo from "@aws-sdk/client-s3/package.json";
|
||||
// or any other client.
|
||||
|
||||
const client = new S3Client({
|
||||
defaultUserAgentProvider: createUserAgentStringParsingProvider({
|
||||
// For a client's serviceId, check the corresponding shared runtimeConfig file
|
||||
// https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/src/runtimeConfig.shared.ts
|
||||
serviceId: "S3",
|
||||
clientVersion: pkgInfo.version,
|
||||
}),
|
||||
});
|
||||
```
|
||||
|
||||
This usage is not recommended, due to the size of the additional parsing library.
|
||||
Reference in New Issue
Block a user