Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
manulife-weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2026-02-13 13:01:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a7475f3077261799468212e3265d8defd86fe3ac
a7475f30
1 parent
d912569d
feat(search): 添加搜索页登录提示
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
src/pages/search/index.vue
src/pages/search/index.vue
View file @
a7475f3
...
...
@@ -155,9 +155,14 @@ const { requireLogin } = usePermission()
*/
onMounted(() => {
console.log('[Search Page] 页面加载,检查登录状态')
requireLogin(() => {
requireLogin(
() => {
console.log('[Search Page] 用户已登录,可以正常使用搜索功能')
})
},
{
content: '搜索功能需要登录后才能使用'
}
)
})
// 获取权限检查方法
...
...
Please
register
or
login
to post a comment