anytrek-front-public-component 1.11.39 → 1.11.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -830,9 +830,14 @@ const fetchImgList = async (successFun: Function) => {
830
830
  successFun();
831
831
  }
832
832
 
833
- const onDownload = (data: any) => {
833
+ const onDownload = async(data: any) => {
834
+ imageDisplayRef.value?.changeDownloadImageLoading(true);
835
+
834
836
  /* 下载图片,自行根据data数组长度执行下载方法 */
837
+ //await .....
835
838
 
839
+ imageDisplayRef.value?.changeDownloadImageLoading(false);
840
+
836
841
  }
837
842
 
838
843
  const onUpdateCurImg = (index: number) => {
@@ -910,7 +915,7 @@ const onToHistory = (data: any) => {
910
915
  | `saveRotation` | 是否持久化旋转角度 | `Boolean` | `false` |
911
916
  | `haveMp` | 是否显示地图 | `Boolean` | `false` |
912
917
  | `needPath` | 是否显示轨迹 | `Boolean` | `false` |
913
- | `zoom` | 地图放大倍数 | `Number` | 8 |
918
+ | `zoom` | 地图放大倍数 | `Number` | 8.5 |
914
919
  | `mapJson` | Google Maps style | `Object` | `` |
915
920
  | `googleMapKey` | Google Maps API Key | `String` | `` |
916
921
  | `onGetHistoryTrail` | 获取历史轨迹 | `Function` | — |
@@ -937,6 +942,8 @@ const onToHistory = (data: any) => {
937
942
  | 方法名 | 描述 | 参数 |
938
943
  | --- | --- | --- |
939
944
  | `loadImageListFun` | 请求图片列表,它会调传进来的getImgList方法 | — |
945
+ | `changeDownloadImageLoading` | 改变图片下载的加载状态 | — |
946
+
940
947
 
941
948
 
942
949