diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 3828726..4c13a06 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -92,11 +92,6 @@ class="text-indigo-200 hover:text-white font-bold transition hidden sm:flex items-center"> 📖 说明 - @endauth @yield('nav-right') @@ -115,7 +110,7 @@ @csrf diff --git a/resources/views/rooms/index.blade.php b/resources/views/rooms/index.blade.php index b6d160d..86e21ea 100644 --- a/resources/views/rooms/index.blade.php +++ b/resources/views/rooms/index.blade.php @@ -29,24 +29,7 @@ @endsection -@section('nav-right') - {{-- admin 后台直达 --}} - @if (Auth::user()->user_level >= 15) - - @endif - {{-- 使用说明 --}} - - {{-- 个人中心展示 --}} - - {{-- 退出登录 --}} -
-@endsection + @section('body-data', "x-data=\"{