style(仪表板): 批量设置、联动设置选择按钮位置变更 (#2755)

* refactor(仪表板): 主题色更换保留原标题显示方式

* refator(仪表板): 主题色切换,过滤组件默认颜色设置

* refator(仪表板): 主题色切换,适配tab组件

* refactor(仪表板): 符号地图适配主题变化

* style(仪表板): 批量设置、联动设置选择按钮位置变更

Co-authored-by: wangjiahao <1522128093@qq.com>
This commit is contained in:
fit2cloudrd 2022-08-01 18:39:05 +08:00 committed by GitHub
parent 94b9cbbf6c
commit ae5cc25d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ export default {
},
computed: {
showEditPosition() {
if (this.activeModel === 'edit') {
if (this.activeModel === 'edit' && !this.linkageAreaShow && !this.batchOptAreaShow) {
const toRight = (this.canvasStyleData.width - this.element.style.left - this.element.style.width) * this.curCanvasScale.scalePointWidth
const toLeft = this.element.style.left * this.curCanvasScale.scalePointWidth
if (this.barWidth < toRight) {
@ -183,7 +183,7 @@ export default {
this.$store.commit('addCurMultiplexingComponent', { 'component': this.element, 'componentId': this.element.id })
} else {
// remove
this.$store.commit('removeCurMultiplexingComponentWithId', this.element.id )
this.$store.commit('removeCurMultiplexingComponentWithId', this.element.id)
}
},
closePreview() {