40409bae7b1de953662dca63983d98bf2b05613e..da2cd2599927fe5d6cca1a26ab9ba95ebc8e4edb
2025-02-18 chenyao
Merge branch 'master' of http://139.196.74.78:10010/r/drone/pilot-h5
da2cd2 diff | tree
2025-02-18 chenyao
测试提交是否自动发布
2b5477 diff | tree
2 files modified
4 ■■■■ changed files
src/api/manage.ts 2 ●●● patch | view | raw | blame | history
src/views/DronePilotList.vue 2 ●●● patch | view | raw | blame | history
src/api/manage.ts
@@ -119,7 +119,7 @@
}
// 获取两点之间的高度和距离
export const getTwoPointInfo = async function (workspace_id: String,personLat:Number,personLng:Number,pointLat:Number,pointLng:Number): Promise<IWorkspaceResponse<any>> {
export const getTwoPointInfo = async function (workspace_id: string,personLat:number,personLng:number,pointLat:number,pointLng:number): Promise<IWorkspaceResponse<any>> {
  const url = `${HTTP_PREFIX_H5}/getPointInfo/${workspace_id}/?personLat=${personLat}&personLng=${personLng}&pointLat=${pointLat}&pointLng=${pointLng}`
  const result = await request.get(url)
  return result.data
src/views/DronePilotList.vue
@@ -21,7 +21,7 @@
      </template>
    </div>
    <div class="drone-pilot-btns">
      <div class="drone-pilot" @click="dronePilotClick(false, 'drone')" :class="{ active:!droneOrPilot }">机场</div>
      <div class="drone-pilot" @click="dronePilotClick(false, 'drone')" :class="{ active:!droneOrPilot }">机场11</div>
      <div class="drone-pilot" @click="dronePilotClick(true, 'pilot')" :class="{ active:droneOrPilot }">遥控器</div>
    </div>
  </div>