[PR #886] [MERGED] feat(SearchInp): 支持搜索词同步 #703

Closed
opened 2026-02-27 07:12:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/886
Author: @MoYingJi
Created: 2/14/2026
Status: Merged
Merged: 2/15/2026
Merged by: @imsyy

Base: devHead: pr/s


📝 Commits (1)

  • 10c0c79 feat(SearchInp): 支持搜索词同步

📊 Changes

4 files changed (+55 additions, -15 deletions)

View changed files

📝 src/components/Search/SearchInp.vue (+33 -5)
📝 src/components/Setting/config/general.ts (+11 -6)
📝 src/stores/migrations/settingMigrations.ts (+8 -1)
📝 src/stores/setting.ts (+3 -3)

📄 Description

clearSearchOnBlur 设置项扩充为 searchInputBehavior,保留原有的 normalclear 模式,增加了 sync 模式(如果当前是搜索页,则同步搜索页的搜索词到搜索框,如果是其他页面,则清空搜索框)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imsyy/SPlayer/pull/886 **Author:** [@MoYingJi](https://github.com/MoYingJi) **Created:** 2/14/2026 **Status:** ✅ Merged **Merged:** 2/15/2026 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `pr/s` --- ### 📝 Commits (1) - [`10c0c79`](https://github.com/imsyy/SPlayer/commit/10c0c7988e0989a0488b25b6760e6cbba606008b) feat(SearchInp): 支持搜索词同步 ### 📊 Changes **4 files changed** (+55 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/components/Search/SearchInp.vue` (+33 -5) 📝 `src/components/Setting/config/general.ts` (+11 -6) 📝 `src/stores/migrations/settingMigrations.ts` (+8 -1) 📝 `src/stores/setting.ts` (+3 -3) </details> ### 📄 Description 将 `clearSearchOnBlur` 设置项扩充为 `searchInputBehavior`,保留原有的 `normal` 和 `clear` 模式,增加了 `sync` 模式(如果当前是搜索页,则同步搜索页的搜索词到搜索框,如果是其他页面,则清空搜索框) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#703
No description provided.