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:
7
backend/node_modules/@smithy/abort-controller/dist-es/AbortController.js
generated
vendored
Normal file
7
backend/node_modules/@smithy/abort-controller/dist-es/AbortController.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { AbortSignal } from "./AbortSignal";
|
||||
export class AbortController {
|
||||
signal = new AbortSignal();
|
||||
abort() {
|
||||
this.signal.abort();
|
||||
}
|
||||
}
|
||||
20
backend/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js
generated
vendored
Normal file
20
backend/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
export class AbortSignal {
|
||||
onabort = null;
|
||||
_aborted = false;
|
||||
constructor() {
|
||||
Object.defineProperty(this, "_aborted", {
|
||||
value: false,
|
||||
writable: true,
|
||||
});
|
||||
}
|
||||
get aborted() {
|
||||
return this._aborted;
|
||||
}
|
||||
abort() {
|
||||
this._aborted = true;
|
||||
if (this.onabort) {
|
||||
this.onabort(this);
|
||||
this.onabort = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
2
backend/node_modules/@smithy/abort-controller/dist-es/index.js
generated
vendored
Normal file
2
backend/node_modules/@smithy/abort-controller/dist-es/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from "./AbortController";
|
||||
export * from "./AbortSignal";
|
||||
Reference in New Issue
Block a user