소스 검색

fix(uni_modules/atl-map): 找不到amap.vue组件问题

wangpx 1 년 전
부모
커밋
0bdc45454a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      uni_modules/atl-map/components/atl-map/atl-map.vue

+ 3 - 3
uni_modules/atl-map/components/atl-map/atl-map.vue

@@ -1,14 +1,14 @@
 <template>
 	<view>
 
-		<amap v-if="mapType === 'amap'" :disable="disable" :longitude="longitude" :latitude="latitude" :mapKey="mapKey"
+		<!-- <amap v-if="mapType === 'amap'" :disable="disable" :longitude="longitude" :latitude="latitude" :mapKey="mapKey"
 			:marker="marker" @confirm="confirm" @changeMarker="changeMarker" :polygons="polygons"
 			:isPolygons="isPolygons" :isCustomBar="isCustomBar" :top='top'>
 			<template v-slot:content>
 				<slot name="content"></slot>
 			</template>
-		</amap>
-		<tmap v-else :disable="disable" :longitude="longitude" :latitude="latitude" :mapKey="mapKey" :marker="marker"
+		</amap> -->
+		<tmap :disable="disable" :longitude="longitude" :latitude="latitude" :mapKey="mapKey" :marker="marker"
 			@confirm="confirm" @changeMarker="changeMarker" :polygons="polygons" :isPolygons="isPolygons"
 			:isCustomBar="isCustomBar" :top='top'>
 			<template v-slot:content>