Pre Merge pull request !388 from 网游之鱼/N/A

This commit is contained in:
网游之鱼 2022-07-19 07:39:20 +00:00 committed by Gitee
commit 275ac02aa1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class SysIndexController extends BaseController
Cookie[] cookies = ServletUtils.getRequest().getCookies();
for (Cookie cookie : cookies)
{
if (StringUtils.isNotEmpty(cookie.getName()) && "nav-style".equalsIgnoreCase(cookie.getName()))
if ("nav-style".equalsIgnoreCase(cookie.getName()))
{
indexStyle = cookie.getValue();
break;