|
@@ -180,9 +180,10 @@
|
|
|
<VueDragResize
|
|
|
v-if="item.type===5"
|
|
|
:isActive="item.isActive"
|
|
|
- :w="40"
|
|
|
- :h="170"
|
|
|
+ :w="item.imgWidth"
|
|
|
+ :h="item.imgHeight"
|
|
|
:minh="20"
|
|
|
+ :minw="20"
|
|
|
:x="item.imgXPosition"
|
|
|
:y="item.imgYPosition"
|
|
|
:isDraggable="item.isActive"
|
|
@@ -194,7 +195,7 @@
|
|
|
{{ item.description }} <br />
|
|
|
液位: {{ item.result }}
|
|
|
</template>
|
|
|
- <LiquidLevel :value="item" />
|
|
|
+ <LiquidLevel :value="item" :width="item.imgWidth" :height="item.imgHeight"/>
|
|
|
</a-tooltip>
|
|
|
</VueDragResize>
|
|
|
</div>
|