mirror of
https://gitee.com/dromara/go-view.git
synced 2025-10-13 14:02:10 +08:00
fix: 优化组态 在编辑页可以放大缩小
This commit is contained in:
parent
302da03590
commit
0a343ad794
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div v-if="chartConfig.customData.mapId" :style="{width: w, height: h}">
|
||||
<!-- :style="{transform: handleScale}"-->
|
||||
<iframe ref="iframe" :src="url" :width="w" :height="h" :style="{pointerEvents: !isPreview() && option.enableInner ? 'auto' : ''}" style="transform-origin: left top" frameborder="no" scrolling="no"></iframe>
|
||||
<iframe ref="iframe" :src="url" :width="w" :height="h" :style="{pointerEvents: (!isPreview() && option.enableInner ? 'auto' : '') as any}" style="transform-origin: left top" frameborder="no" scrolling="no"></iframe>
|
||||
</div>
|
||||
<div style="display: flex;flex-direction: column;align-items: center;justify-content: center;" v-else>
|
||||
<img src="@/assets/images/exception/nodata.svg" style="width: 100%;height: 30%" alt="">
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="go-shape-box" :style="{pointerEvents}" :class="{ lock, hide }">
|
||||
<div class="go-shape-box" :style="{pointerEvents: pointerEvents as any}" :class="{ lock, hide }">
|
||||
<slot :enableOuter="enableOuter"></slot>
|
||||
<!-- 锚点 -->
|
||||
<template v-if="!hiddenPoint">
|
||||
|
Loading…
x
Reference in New Issue
Block a user