瀏覽代碼

refactor: use relative path for search-input default action

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
visuddhinanda 5 天之前
父節點
當前提交
fbfe146aac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api-v13/resources/views/components/ui/search-input.blade.php

+ 1 - 1
api-v13/resources/views/components/ui/search-input.blade.php

@@ -1,6 +1,6 @@
 {{-- resources/views/components/ui/search-input.blade.php --}}
 @props([
-'action' => route('library.search'),
+'action' => route('library.search', [], false),
 'value' => '',
 'placeholder' => '搜索…',
 'buttonText' => '搜索',