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:
61
backend/node_modules/@aws-sdk/crc64-nvme/README.md
generated
vendored
Normal file
61
backend/node_modules/@aws-sdk/crc64-nvme/README.md
generated
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
# @aws-sdk/crc64-nvme
|
||||
|
||||
[](https://www.npmjs.com/package/@aws-sdk/crc64-nvme)
|
||||
[](https://www.npmjs.com/package/@aws-sdk/crc64-nvme)
|
||||
|
||||
JavaScript Implementation of CRC64NVME which follows Smithy Checksum interface.
|
||||
|
||||
## Usage
|
||||
|
||||
### Basic Usage
|
||||
|
||||
```javascript
|
||||
import { Crc64Nvme } from "@aws-sdk/crc64-nvme";
|
||||
|
||||
const checksum = new Crc64Nvme();
|
||||
checksum.update(new Uint8Array([1, 2, 3, 4, 5]));
|
||||
const result = await checksum.digest();
|
||||
console.log(result); // Uint8Array(8) containing the checksum
|
||||
```
|
||||
|
||||
### String Input
|
||||
|
||||
```javascript
|
||||
import { Crc64Nvme } from "@aws-sdk/crc64-nvme";
|
||||
|
||||
const checksum = new Crc64Nvme();
|
||||
const data = new TextEncoder().encode("Hello, World!");
|
||||
checksum.update(data);
|
||||
const result = await checksum.digest();
|
||||
```
|
||||
|
||||
### Incremental Updates
|
||||
|
||||
```javascript
|
||||
import { Crc64Nvme } from "@aws-sdk/crc64-nvme";
|
||||
|
||||
const checksum = new Crc64Nvme();
|
||||
|
||||
// Process data in chunks
|
||||
checksum.update(new TextEncoder().encode("Hello, "));
|
||||
checksum.update(new TextEncoder().encode("World!"));
|
||||
|
||||
const result = await checksum.digest();
|
||||
```
|
||||
|
||||
### Reset and Reuse
|
||||
|
||||
```javascript
|
||||
import { Crc64Nvme } from "@aws-sdk/crc64-nvme";
|
||||
|
||||
const checksum = new Crc64Nvme();
|
||||
|
||||
// First calculation
|
||||
checksum.update(new TextEncoder().encode("data1"));
|
||||
const result1 = await checksum.digest();
|
||||
|
||||
// Reset for new calculation
|
||||
checksum.reset();
|
||||
checksum.update(new TextEncoder().encode("data2"));
|
||||
const result2 = await checksum.digest();
|
||||
```
|
||||
Reference in New Issue
Block a user