hookehuyr

fix: 将building_id替换为id以正确获取详情ID

1 <!-- 1 <!--
2 * @Date: 2024-09-15 22:08:49 2 * @Date: 2024-09-15 22:08:49
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-04 17:19:08 4 + * @LastEditTime: 2025-09-04 17:36:17
5 * @FilePath: /map-demo/src/views/checkin/info.vue 5 * @FilePath: /map-demo/src/views/checkin/info.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -521,7 +521,7 @@ const check_in_status = ref(false); ...@@ -521,7 +521,7 @@ const check_in_status = ref(false);
521 */ 521 */
522 const checkInitialCheckinStatus = async () => { 522 const checkInitialCheckinStatus = async () => {
523 try { 523 try {
524 - const detail_id = page_details.value.building_id; 524 + const detail_id = page_details.value.id;
525 const openid = page_details.value.openid; 525 const openid = page_details.value.openid;
526 526
527 if (detail_id && openid) { 527 if (detail_id && openid) {
...@@ -549,7 +549,7 @@ const checkIn = async () => { // 打卡 ...@@ -549,7 +549,7 @@ const checkIn = async () => { // 打卡
549 return; 549 return;
550 } 550 }
551 551
552 - const detail_id = page_details.value.building_id; 552 + const detail_id = page_details.value.id;
553 const openid = page_details.value.openid; 553 const openid = page_details.value.openid;
554 554
555 // 判断用户时候在范围内 555 // 判断用户时候在范围内
......