mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
'处理非https下navigator.clipboard方法无法获取,导致无法复制黏贴外部文本'
This commit is contained in:
parent
3d9d172fa0
commit
7136d7076d
@ -139,7 +139,6 @@ class Render {
|
||||
|
||||
// 绑定事件
|
||||
bindEvent() {
|
||||
console.log('------------------------')
|
||||
// 画布点击事件清除当前激活节点列表
|
||||
this.mindMap.on('draw_click', e => {
|
||||
this.clearActiveNodeListOnDrawClick(e, 'click')
|
||||
@ -1151,7 +1150,6 @@ class Render {
|
||||
}
|
||||
// 复制的文本处理逻辑
|
||||
if (isText) this.pasteData.text = clipboardData.getData('text')
|
||||
console.log(this.pasteData.text,'===-=-=-dasd')
|
||||
this.paste()
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user