diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 31bec2a..0d49956 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -333,9 +333,23 @@ function App() { {/* 添加/编辑表单 */}
-
- setCategoryForm({...categoryForm, name: e.target.value})} placeholder="分类名称"/> - setCategoryForm({...categoryForm, sort_order: e.target.value})} placeholder="排序"/> +
+ + setCategoryForm({...categoryForm, name: e.target.value})} placeholder="输入分类名称"/> +
+
+ + setCategoryForm({...categoryForm, sort_order: e.target.value})} placeholder="0"/> +
+
+ +
+ {PRESET_ICONS.map(iconName => ( + + ))} +
@@ -345,9 +359,12 @@ function App() { ))}
- +
+ + +
{/* 分类列表 */}