Commit bb5da9087fd7f74b516a436af74c79ae0393244d
1 parent
29a5af08
fix: data dashboard map component not select history trend
Showing
1 changed file
with
7 additions
and
3 deletions
... | ... | @@ -214,7 +214,7 @@ |
214 | 214 | </script> |
215 | 215 | |
216 | 216 | <template> |
217 | - <div class="w-full h-full flex justify-center items-center flex-col p-2 no-drag"> | |
217 | + <div class="w-full h-full flex justify-center items-center flex-col p-2"> | |
218 | 218 | <div |
219 | 219 | class="w-full flex" |
220 | 220 | v-if="props.layout?.componentType === FrontComponent.MAP_COMPONENT_TRACK_HISTORY" |
... | ... | @@ -241,8 +241,12 @@ |
241 | 241 | </span> |
242 | 242 | </Button> |
243 | 243 | </div> |
244 | - <Spin class="w-full h-full" :spinning="!prepare" tip="Loading..." /> | |
245 | - <div ref="wrapRef" :id="wrapId" class="w-full h-full"></div> | |
244 | + <Spin | |
245 | + class="w-full h-full !flex flex-col justify-center items-center pointer-events-none" | |
246 | + :spinning="!prepare" | |
247 | + tip="地图加载中..." | |
248 | + /> | |
249 | + <div v-show="prepare" ref="wrapRef" :id="wrapId" class="w-full h-full no-drag"></div> | |
246 | 250 | <HistoryDataModel @register="register" @ok="handleRenderHistroyData" /> |
247 | 251 | </div> |
248 | 252 | </template> | ... | ... |