forked from github/dataease
Merge pull request #3927 from dataease/pr@dev@fix_linkage-show
fix(视图): 修复仪表antv环形图空标签联动高亮显示异常的问题
This commit is contained in:
commit
1e4b95049b
@ -65,7 +65,7 @@
|
|||||||
@mousedown.stop.prevent="handleDown(handlei, $event)"
|
@mousedown.stop.prevent="handleDown(handlei, $event)"
|
||||||
@touchstart.stop.prevent="handleTouchDown(handlei, $event)"
|
@touchstart.stop.prevent="handleTouchDown(handlei, $event)"
|
||||||
>
|
>
|
||||||
<slot :name="handlei" />
|
<slot :name="handlei"/>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
:id="componentCanvasId"
|
:id="componentCanvasId"
|
||||||
@ -78,7 +78,7 @@
|
|||||||
class="svg-background"
|
class="svg-background"
|
||||||
:icon-class="mainSlotSvgInner"
|
:icon-class="mainSlotSvgInner"
|
||||||
/>
|
/>
|
||||||
<slot />
|
<slot/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -588,7 +588,7 @@ export default {
|
|||||||
return 'auto'
|
return 'auto'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.element.auxiliaryMatrix) {
|
if (this.element.auxiliaryMatrix && this.curCanvasScaleSelf) {
|
||||||
const width = Math.round(this.width / this.curCanvasScaleSelf.matrixStyleWidth) * this.curCanvasScaleSelf.matrixStyleWidth
|
const width = Math.round(this.width / this.curCanvasScaleSelf.matrixStyleWidth) * this.curCanvasScaleSelf.matrixStyleWidth
|
||||||
return (width - this.curGap * 2) + 'px'
|
return (width - this.curGap * 2) + 'px'
|
||||||
} else {
|
} else {
|
||||||
|
@ -202,7 +202,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
checkSelected(param) {
|
checkSelected(param) {
|
||||||
return (this.linkageActiveParam.name.indexOf(param.name) > -1) &&
|
return (this.linkageActiveParam.name === param.name) &&
|
||||||
(this.linkageActiveParam.category === param.category)
|
(this.linkageActiveParam.category === param.category)
|
||||||
},
|
},
|
||||||
preDraw() {
|
preDraw() {
|
||||||
|
Loading…
Reference in New Issue
Block a user