mirror of
https://github.com/doocs/md.git
synced 2024-11-28 13:36:32 +08:00
fix: same position right click menu visable bug
This commit is contained in:
parent
aade1445bc
commit
3151c4fe99
@ -98,13 +98,13 @@ const mutations = {
|
|||||||
state.editor.setValue(doc)
|
state.editor.setValue(doc)
|
||||||
}
|
}
|
||||||
|
|
||||||
state.editor.on("cursorActivity",function(){
|
state.editor.on('mousedown', function() {
|
||||||
state.rightClickMenuVisible = false
|
state.rightClickMenuVisible = false
|
||||||
});
|
});
|
||||||
state.editor.on("blur",function(){
|
state.editor.on('blur', function() {
|
||||||
state.rightClickMenuVisible = false
|
state.rightClickMenuVisible = false
|
||||||
});
|
});
|
||||||
state.editor.on("scroll",function(){
|
state.editor.on('scroll', function() {
|
||||||
state.rightClickMenuVisible = false
|
state.rightClickMenuVisible = false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user