Showing
1 changed file
with
6 additions
and
7 deletions
| ... | @@ -18,14 +18,11 @@ | ... | @@ -18,14 +18,11 @@ |
| 18 | 18 | ||
| 19 | --- | 19 | --- |
| 20 | 20 | ||
| 21 | -## [2026-02-13] - 搜索页登录检查 | 21 | +## [2026-02-13] - 搜索页登录提示优化 |
| 22 | - | ||
| 23 | -### 新增 | ||
| 24 | -- 搜索页加载时检查用户登录状态 | ||
| 25 | -- 未登录时弹出登录提示并引导跳转 | ||
| 26 | 22 | ||
| 27 | ### 优化 | 23 | ### 优化 |
| 28 | -- 使用 usePermission composable 统一权限检查逻辑 | 24 | +- 搜索页使用自定义登录提示话术"搜索功能需要登录后才能使用" |
| 25 | +- 支持通过 customOptions 参数覆盖默认权限提示内容 | ||
| 29 | 26 | ||
| 30 | --- | 27 | --- |
| 31 | 28 | ||
| ... | @@ -33,10 +30,12 @@ | ... | @@ -33,10 +30,12 @@ |
| 33 | - **影响文件**: src/pages/search/index.vue | 30 | - **影响文件**: src/pages/search/index.vue |
| 34 | - **技术栈**: Vue 3, Taro 4 | 31 | - **技术栈**: Vue 3, Taro 4 |
| 35 | - **测试状态**: 已通过 | 32 | - **测试状态**: 已通过 |
| 36 | -- **备注**: 页面级登录检查,使用 onMounted 钩子 | 33 | +- **备注**: getPermissionConfig 支持自定义内容覆盖 |
| 37 | 34 | ||
| 38 | --- | 35 | --- |
| 39 | 36 | ||
| 37 | +## [2026-02-13] - 搜索页登录检查 | ||
| 38 | + | ||
| 40 | ## [2026-02-13] - 资料查看权限与搜索页测试对齐 | 39 | ## [2026-02-13] - 资料查看权限与搜索页测试对齐 |
| 41 | 40 | ||
| 42 | ### 新增 | 41 | ### 新增 | ... | ... |
-
Please register or login to post a comment