1
@@ -86,9 +86,9 @@ export default defineComponent({
console.log(myPoint, attendanceScope.value)
try {
await postMessage({
- api: 'getAppAuth',
+ api: 'sourseMapApi',
content: {
- type: 'getPoint',
+ type: 'display',
orginPoint: teacherAttInfo.value.addressLongitudeLatitude,
myPoint,
limitDistance: attendanceScope.value
@@ -120,8 +120,8 @@ export default defineComponent({
await postMessage(
{
- content: { type: 'setPoint', orginPoint: forms.addressLongitudeLatitude }
+ content: { type: 'modify', orginPoint: forms.addressLongitudeLatitude }
},
(data: any) => {
forms.addressLongitudeLatitude = data.content.nowPoint