1
0
mirror of https://github.com/cjango/dcat-vue.git synced 2025-12-06 22:40:03 +08:00

一些优化

This commit is contained in:
weiwait
2023-01-06 09:47:29 +08:00
parent 3ec466e9ee
commit cc5b77b993
3 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -41,7 +41,7 @@ class FilesystemConfig extends Form
$methodChanged = collect($config->get('oss_allowed_methods', []))->diff($data['oss_allowed_methods']); $methodChanged = collect($config->get('oss_allowed_methods', []))->diff($data['oss_allowed_methods']);
$masChanged = collect($config->get('oss_mas', 0))->diff($data['oss_mas']); $masChanged = collect($config->get('oss_mas', 0))->diff($data['oss_mas']);
if ($originChanged || $methodChanged || $masChanged) { if ($originChanged->isNotEmpty() || $methodChanged->isNotEmpty() || $masChanged->isNotEmpty()) {
$rule = new CorsRule(); $rule = new CorsRule();
$rule->setMaxAgeSeconds($data['oss_mas']); $rule->setMaxAgeSeconds($data['oss_mas']);

View File

@@ -76,4 +76,8 @@ return [
'2.5.3' => [ '2.5.3' => [
'一些优化', '一些优化',
], ],
'2.5.4' => [
'修复vList为空时dcat依赖的默认值',
'一些优化',
],
]; ];