一些小调整

This commit is contained in:
wanglin2 2023-03-31 14:32:43 +08:00
parent 331f0bdf97
commit 4d21b84882
3 changed files with 6 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class MindMap {
this.draw = this.svg.group()
// 节点id
this.uid = 0
this.uid = 1
// 初始化主题
this.initTheme()

View File

@ -87,6 +87,9 @@ function renderExpandBtn() {
)
this.mindMap.emit('expand_btn_click', this)
})
this._expandBtn.on('dblclick', e => {
e.stopPropagation()
})
this.group.add(this._expandBtn)
}
this.updateExpandBtnNode()

View File

@ -76,7 +76,7 @@
{{ item }}px
</div>
</div>
<div class="btn" slot="reference" :style="{ color: formatInfo.color }">
<div class="btn" slot="reference">
<span class="icon iconfont iconcase fontColor"></span>
</div>
</el-popover>
@ -85,7 +85,7 @@
<el-tooltip content="字体颜色" placement="top">
<el-popover placement="bottom" trigger="hover">
<Color :color="fontColor" @change="changeFontColor"></Color>
<div class="btn" slot="reference">
<div class="btn" slot="reference" :style="{ color: formatInfo.color }">
<span class="icon iconfont iconzitiyanse"></span>
</div>
</el-popover>