fix: 修复早期安装用户更新后访问首页会报theme_color不存在的问题

This commit is contained in:
xboard 2024-04-05 06:51:59 +08:00
parent aeb39e1476
commit 2ee630e94c

View File

@ -16,7 +16,7 @@
title: '{{$title}}', title: '{{$title}}',
assets_path: '/theme/{{$theme}}/assets', assets_path: '/theme/{{$theme}}/assets',
theme: { theme: {
color: '{{$theme_config['theme_color']}}', color: '{{ $theme_config['theme_color'] ?? "default" }}',
}, },
version: '{{$version}}', version: '{{$version}}',
background_url: '{{$theme_config['background_url']}}', background_url: '{{$theme_config['background_url']}}',