Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
xyxBooking-weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-01-13 23:08:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d899bb7dd7668be3dd44a4e8ff009aa78faba654
d899bb7d
1 parent
e6d7584d
docs(volunteerLogin): 更新文件描述和添加注释
更新配置文件描述为"义工登录配置" 在登录逻辑中添加TODO注释说明模拟功能
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
src/pages/volunteerLogin/index.config.js
src/pages/volunteerLogin/index.vue
src/pages/volunteerLogin/index.config.js
View file @
d899bb7
/*
* @Date: 2026-01-07 17:41:31
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-
07 18:04:52
* @LastEditTime: 2026-01-
13 22:29:57
* @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.config.js
* @Description:
文件描述
* @Description:
义工登录配置
*/
export
default
{
navigationBarTitleText
:
''
...
...
src/pages/volunteerLogin/index.vue
View file @
d899bb7
<!--
* @Date: 2026-01-08 13:01:56
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-
08 13:02:27
* @LastEditTime: 2026-01-
13 22:11:30
* @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.vue
* @Description: 义工登录页面
-->
...
...
@@ -73,6 +73,7 @@ const handleLogin = async () => {
// 更新 store 中的用户信息 (isVolunteer 会自动通过 getter 更新)
store.changeUserInfo(userRes.data)
// TODO: 这是模拟功能, 检查是否为义工账号
if (store.isVolunteer) {
Taro.showToast({ title: '登录成功', icon: 'success' })
setTimeout(() => {
...
...
Please
register
or
login
to post a comment