一些小调整
This commit is contained in:
parent
331f0bdf97
commit
4d21b84882
@ -95,7 +95,7 @@ class MindMap {
|
|||||||
this.draw = this.svg.group()
|
this.draw = this.svg.group()
|
||||||
|
|
||||||
// 节点id
|
// 节点id
|
||||||
this.uid = 0
|
this.uid = 1
|
||||||
|
|
||||||
// 初始化主题
|
// 初始化主题
|
||||||
this.initTheme()
|
this.initTheme()
|
||||||
|
|||||||
@ -87,6 +87,9 @@ function renderExpandBtn() {
|
|||||||
)
|
)
|
||||||
this.mindMap.emit('expand_btn_click', this)
|
this.mindMap.emit('expand_btn_click', this)
|
||||||
})
|
})
|
||||||
|
this._expandBtn.on('dblclick', e => {
|
||||||
|
e.stopPropagation()
|
||||||
|
})
|
||||||
this.group.add(this._expandBtn)
|
this.group.add(this._expandBtn)
|
||||||
}
|
}
|
||||||
this.updateExpandBtnNode()
|
this.updateExpandBtnNode()
|
||||||
|
|||||||
@ -76,7 +76,7 @@
|
|||||||
{{ item }}px
|
{{ item }}px
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn" slot="reference" :style="{ color: formatInfo.color }">
|
<div class="btn" slot="reference">
|
||||||
<span class="icon iconfont iconcase fontColor"></span>
|
<span class="icon iconfont iconcase fontColor"></span>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
@ -85,7 +85,7 @@
|
|||||||
<el-tooltip content="字体颜色" placement="top">
|
<el-tooltip content="字体颜色" placement="top">
|
||||||
<el-popover placement="bottom" trigger="hover">
|
<el-popover placement="bottom" trigger="hover">
|
||||||
<Color :color="fontColor" @change="changeFontColor"></Color>
|
<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>
|
<span class="icon iconfont iconzitiyanse"></span>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user