mirror of
https://github.com/cjango/dcat-vue.git
synced 2025-12-06 22:40:03 +08:00
一些优化
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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']);
|
||||||
|
|
||||||
|
|||||||
@@ -76,4 +76,8 @@ return [
|
|||||||
'2.5.3' => [
|
'2.5.3' => [
|
||||||
'一些优化',
|
'一些优化',
|
||||||
],
|
],
|
||||||
|
'2.5.4' => [
|
||||||
|
'修复vList为空时dcat依赖的默认值',
|
||||||
|
'一些优化',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user