Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
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
2025-09-04 17:40:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4706facfee5092e4a4fb48ed4a64ec22ce76a42e
4706facf
1 parent
bb0c96be
fix: 将building_id替换为id以正确获取详情ID
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/checkin/info.vue
src/views/checkin/info.vue
View file @
4706fac
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-04 17:
19:08
* @LastEditTime: 2025-09-04 17:
36:17
* @FilePath: /map-demo/src/views/checkin/info.vue
* @Description: 文件描述
-->
...
...
@@ -521,7 +521,7 @@ const check_in_status = ref(false);
*/
const checkInitialCheckinStatus = async () => {
try {
const detail_id = page_details.value.
building_
id;
const detail_id = page_details.value.id;
const openid = page_details.value.openid;
if (detail_id && openid) {
...
...
@@ -549,7 +549,7 @@ const checkIn = async () => { // 打卡
return;
}
const detail_id = page_details.value.
building_
id;
const detail_id = page_details.value.id;
const openid = page_details.value.openid;
// 判断用户时候在范围内
...
...
Please
register
or
login
to post a comment