lin
2024-03-19 743f3fb46687d782923bb5eff077f7b5371d1f4e
定位
1 files modified
5 ■■■■■ changed files
pages/home/index.vue 5 ●●●●● patch | view | raw | blame | history
pages/home/index.vue
@@ -315,6 +315,7 @@
                jobList: [],
                time: 0,
                userGPS: false,
                location: {},
                roleType: 2, // 1网格员/系统管理员 、  2居民   3民警
                roleTypeName: "街道社区网格",
                selectBoxShow: false,
@@ -1281,8 +1282,8 @@
                let param = {
                    id: uni.getStorageSync("userInfo").user_id,
                    deptId: uni.getStorageSync("userInfo").dept_id,
                    lng: data.longitude,
                    lat: data.latitude,
                    lng: location.longitude,
                    lat: location.latitude,
                }
                updateUserInfo(param).then(res => {
                    console.log(res)