mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 02:50:52 +08:00
fix: 修复迁移配置文件时配置为数组时的错误
This commit is contained in:
@@ -172,7 +172,7 @@ class MigrateFromV2b extends Command
|
||||
}
|
||||
Setting::create([
|
||||
'name' => $k,
|
||||
'value' => $v,
|
||||
'value' => is_array($v)? json_encode($v) : $v,
|
||||
]);
|
||||
$this->info("配置 ${k} 迁移成功");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user