feat(recycle-bin): 实现回收站功能

- 新增回收站相关 API 接口
- 添加回收站页面组件和路由
- 实现笔记和分类的软删除功能
- 支持回收站内容的获取、恢复和永久删除操作
- 优化用户界面,增加回收站入口和相关提示
This commit is contained in:
ikmkj
2025-07-31 19:21:58 +08:00
parent 384ac43370
commit 8cbd5b02b3
7 changed files with 485 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ import HomePage from '../components/HomePage.vue';
import MarkdownEditor from '../components/MarkdownEditor.vue';
import LoginPage from '../components/LoginPage.vue';
import RegisterPage from '../components/RegisterPage.vue';
import TrashPage from '../components/TrashPage.vue';
const routes = [
{
@@ -34,6 +35,11 @@ const routes = [
path: '/register',
name: 'Register',
component: RegisterPage
},
{
path: '/trash',
name: 'Trash',
component: TrashPage
}
];