is_mobile 方法名修改引用

This commit is contained in:
pushuo 2022-09-01 10:27:35 +08:00
parent b78eeae8b2
commit 2ad3d6047b
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@
<img src="{{ image_origin(system_setting('base.logo')) }}" class="img-fluid"></a>
</div>
<div class="menu-wrap">
@if (!isMobile())
@if (!is_mobile())
@include('shared.menu-pc')
@endif
</div>
@ -130,7 +130,7 @@
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body mobile-menu-wrap">
@if (isMobile())
@if (is_mobile())
@include('shared.menu-mobile')
@endif
</div>