hookehuyr

docs(volunteerLogin): 更新文件描述和添加注释

更新配置文件描述为"义工登录配置"
在登录逻辑中添加TODO注释说明模拟功能
1 /* 1 /*
2 * @Date: 2026-01-07 17:41:31 2 * @Date: 2026-01-07 17:41:31
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2026-01-07 18:04:52 4 + * @LastEditTime: 2026-01-13 22:29:57
5 * @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.config.js 5 * @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.config.js
6 - * @Description: 文件描述 6 + * @Description: 义工登录配置
7 */ 7 */
8 export default { 8 export default {
9 navigationBarTitleText: '' 9 navigationBarTitleText: ''
......
1 <!-- 1 <!--
2 * @Date: 2026-01-08 13:01:56 2 * @Date: 2026-01-08 13:01:56
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2026-01-08 13:02:27 4 + * @LastEditTime: 2026-01-13 22:11:30
5 * @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.vue 5 * @FilePath: /xyxBooking-weapp/src/pages/volunteerLogin/index.vue
6 * @Description: 义工登录页面 6 * @Description: 义工登录页面
7 --> 7 -->
...@@ -73,6 +73,7 @@ const handleLogin = async () => { ...@@ -73,6 +73,7 @@ const handleLogin = async () => {
73 // 更新 store 中的用户信息 (isVolunteer 会自动通过 getter 更新) 73 // 更新 store 中的用户信息 (isVolunteer 会自动通过 getter 更新)
74 store.changeUserInfo(userRes.data) 74 store.changeUserInfo(userRes.data)
75 75
76 + // TODO: 这是模拟功能, 检查是否为义工账号
76 if (store.isVolunteer) { 77 if (store.isVolunteer) {
77 Taro.showToast({ title: '登录成功', icon: 'success' }) 78 Taro.showToast({ title: '登录成功', icon: 'success' })
78 setTimeout(() => { 79 setTimeout(() => {
......