feat(app): 添加图片采集器功能并修复粘贴问题
- 集成 dexie 和 dexie-react-hooks 实现本地数据库存储 - 创建 TestPage 组件实现图片粘贴采集功能 - 修复重复粘贴问题,添加事件监听器清理机制 - 修复删除按钮触发增加的事件冒泡问题 - 为电子木鱼页面添加顶部边距样式 - 更新导航项标签为中文显示 - 添加图片网格展示和删除功能
This commit is contained in:
+3
-1
@@ -4,13 +4,15 @@ import TimestampPage from './pages/TimestampPage';
|
||||
import ElectronicWoodenFishPage from "./pages/ElectronicWoodenFishPage";
|
||||
import TodoListPage from "./pages/TodoListPage";
|
||||
import './App.css';
|
||||
import TestPage from "./pages/TestPage";
|
||||
|
||||
// 导航项配置数组,便于后续添加
|
||||
// 为了测试折叠功能,我们添加更多导航项
|
||||
const navItems = [
|
||||
{path: '/', label: 'Timestamp', element: <TimestampPage/>},
|
||||
{path: '/', label: '时间戳', element: <TimestampPage/>},
|
||||
{path: '/dzmy', label: '电子木鱼', element: <ElectronicWoodenFishPage/>},
|
||||
{path: '/todo', label: '待办', element: <TodoListPage/>},
|
||||
{path: '/test', label: '测试', element: <TestPage/>}
|
||||
];
|
||||
|
||||
function App() {
|
||||
|
||||
Reference in New Issue
Block a user