mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-23 03:17:41 +08:00
一些小调整
This commit is contained in:
parent
331f0bdf97
commit
4d21b84882
@ -95,7 +95,7 @@ class MindMap {
|
||||
this.draw = this.svg.group()
|
||||
|
||||
// 节点id
|
||||
this.uid = 0
|
||||
this.uid = 1
|
||||
|
||||
// 初始化主题
|
||||
this.initTheme()
|
||||
|
||||
@ -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()
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user