Commit ed0cd4c627766b0bb7a8b76cb36f554db33e242b

Authored by ww
1 parent fabfa424

fix: data component map component drag event conflict

@@ -198,7 +198,7 @@ @@ -198,7 +198,7 @@
198 </script> 198 </script>
199 199
200 <template> 200 <template>
201 - <div class="w-full h-full flex justify-center items-center flex-col p-2"> 201 + <div class="w-full h-full flex justify-center items-center flex-col p-2 no-drag">
202 <div 202 <div
203 class="w-full flex" 203 class="w-full flex"
204 v-if="props.layout?.componentType === FrontComponent.MAP_COMPONENT_TRACK_HISTORY" 204 v-if="props.layout?.componentType === FrontComponent.MAP_COMPONENT_TRACK_HISTORY"
@@ -442,6 +442,7 @@ @@ -442,6 +442,7 @@
442 @resize="itemResize" 442 @resize="itemResize"
443 @moved="itemMoved" 443 @moved="itemMoved"
444 @container-resized="itemContainerResized" 444 @container-resized="itemContainerResized"
  445 + drag-ignore-from=".no-drag"
445 > 446 >
446 <WidgetWrapper 447 <WidgetWrapper
447 :key="item.i" 448 :key="item.i"