- 在editStorageForm中初始化oss_storage_quota_value和oss_quota_unit - 删除重复的旧配额说明块,保留新的当前配额设置显示 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 lines
558 B
JavaScript
16 lines
558 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.getRuntimeConfig = void 0;
|
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
const getRuntimeConfig = (config) => {
|
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
return {
|
|
...browserDefaults,
|
|
...config,
|
|
runtime: "react-native",
|
|
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
};
|
|
};
|
|
exports.getRuntimeConfig = getRuntimeConfig;
|