diff --git a/VERSION b/VERSION index 7c48e17..9ef6466 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION=1.2.72 +VERSION=1.2.75 diff --git a/config/VERSION b/config/VERSION index 7c48e17..9ef6466 100644 --- a/config/VERSION +++ b/config/VERSION @@ -1 +1 @@ -VERSION=1.2.72 +VERSION=1.2.75 diff --git a/frontend/src/pages/YichensBoard.jsx b/frontend/src/pages/YichensBoard.jsx index f2a5a6a..802cc0b 100644 --- a/frontend/src/pages/YichensBoard.jsx +++ b/frontend/src/pages/YichensBoard.jsx @@ -140,7 +140,7 @@ export default function YichensBoard() { type="text" placeholder="搜索标题、内容、分类..." value={searchKeyword} - onChange={(e) => { setSearchKeyword(e.target.value); setPage(1); fetchPosts(1, '') }} + onChange={(e) => { const kw = e.target.value; setSearchKeyword(kw); setPage(1); fetchPosts(1, '', kw) }} style={{ flex: 1, padding: '10px 14px', borderRadius: 8, border: '1px solid #374151', background: '#1f2937', color: '#fff', fontSize: 13, outline: 'none' }} />