fix: antv 提示偏移
This commit is contained in:
parent
5be7ab1d2a
commit
89f439a091
@ -2,7 +2,7 @@
|
||||
<div
|
||||
:style="getOutStyleDefault(config.style)"
|
||||
class="component component-outer"
|
||||
:class="{'component-active': filterActive}"
|
||||
:class="{'component-active': filterActive, 'user-view': config.component === 'user-view'}"
|
||||
@click="handleClick"
|
||||
@mousedown="elementMouseDown"
|
||||
>
|
||||
@ -405,4 +405,7 @@ export default {
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
.user-view {
|
||||
transform: translate(0);
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
/>
|
||||
<chart-component-g2
|
||||
v-else-if="!chart.type.includes('text') && chart.type !== 'label' && !chart.type.includes('table') && renderComponent() === 'antv'"
|
||||
class="chart-class"
|
||||
class="chart-class show-in-dialog"
|
||||
:chart="chart"
|
||||
/>
|
||||
<chart-component-s2
|
||||
|
||||
@ -482,7 +482,7 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.fullscreen {
|
||||
.fullscreen, .show-in-dialog {
|
||||
.g2-container {
|
||||
::v-deep .g2-tooltip {
|
||||
position: absolute !important;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user