fix(仪表板): 修复Tab内组件的悬浮工具栏无法修改问题

This commit is contained in:
wangjiahao 2022-11-01 18:11:35 +08:00
parent 6353960bc0
commit bb22c0dd11

View File

@ -6,6 +6,7 @@
<div
id="main-attr"
style="position: relative;"
@mousedown="mouseDown"
>
<div
v-if="attrShow('textAlign')"
@ -658,6 +659,9 @@ export default {
},
methods: {
mouseDown(e) {
e.stopPropagation()
},
init() {
if (this.styleInfo['opacity']) {
this.innerOpacity = this.styleInfo['opacity'] * 100