Commit 221fc14e by 杨树贤

语言放到cookiue

parent b658ea7c
Showing with 2 additions and 0 deletions
......@@ -33,6 +33,8 @@ use Dcat\Admin\Show\Field;
config(['admin' => user_admin_config()]);
config(['app.locale' => config('admin.lang') ?: config('app.locale')]);
setcookie('app_lang', config('admin.lang') ?: config('app.locale'));
$primaryColor = Admin::color()->primary();
$primaryColor = '#009688';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment