forked from github/dataease
style(仪表板): 批量设置、联动设置选择按钮位置变更 (#2755)
* refactor(仪表板): 主题色更换保留原标题显示方式 * refator(仪表板): 主题色切换,过滤组件默认颜色设置 * refator(仪表板): 主题色切换,适配tab组件 * refactor(仪表板): 符号地图适配主题变化 * style(仪表板): 批量设置、联动设置选择按钮位置变更 Co-authored-by: wangjiahao <1522128093@qq.com>
This commit is contained in:
parent
94b9cbbf6c
commit
ae5cc25d8a
@ -101,7 +101,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
showEditPosition() {
|
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 toRight = (this.canvasStyleData.width - this.element.style.left - this.element.style.width) * this.curCanvasScale.scalePointWidth
|
||||||
const toLeft = this.element.style.left * this.curCanvasScale.scalePointWidth
|
const toLeft = this.element.style.left * this.curCanvasScale.scalePointWidth
|
||||||
if (this.barWidth < toRight) {
|
if (this.barWidth < toRight) {
|
||||||
@ -183,7 +183,7 @@ export default {
|
|||||||
this.$store.commit('addCurMultiplexingComponent', { 'component': this.element, 'componentId': this.element.id })
|
this.$store.commit('addCurMultiplexingComponent', { 'component': this.element, 'componentId': this.element.id })
|
||||||
} else {
|
} else {
|
||||||
// remove
|
// remove
|
||||||
this.$store.commit('removeCurMultiplexingComponentWithId', this.element.id )
|
this.$store.commit('removeCurMultiplexingComponentWithId', this.element.id)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
closePreview() {
|
closePreview() {
|
||||||
|
Loading…
Reference in New Issue
Block a user