Преглед на файлове

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>