|
@@ -1,6 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div ref="mapContainer" class="map-container"></div>
|
|
|
|
|
- <div class="map-container cad-container" id="map2dContainer"></div>
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ ref="mapContainer"
|
|
|
|
|
+ class="map-container"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ transform: `scale(${1 / appStore.getWidthScale}, ${1 / appStore.getHeightScale})`,
|
|
|
|
|
+ }"
|
|
|
|
|
+ ></div>
|
|
|
<div v-if="!isTopLevel" class="map-reset-btn">
|
|
<div v-if="!isTopLevel" class="map-reset-btn">
|
|
|
<Button :loading="mapLoading" type="primary" @click="revertStack">返回上级</Button>
|
|
<Button :loading="mapLoading" type="primary" @click="revertStack">返回上级</Button>
|
|
|
</div>
|
|
</div>
|