优化contextmenu指令
This commit is contained in:
@@ -19,7 +19,7 @@ export default {
|
||||
binding.modifiers.click ? "click" : "contextmenu",
|
||||
e => {
|
||||
if (isEmpty(binding.value) || !Array.isArray(binding.value)) return;
|
||||
e.stopPropagation();
|
||||
if (binding.modifiers.click == "click") e.stopPropagation();
|
||||
e.preventDefault();
|
||||
LemonPopover.methods.closeAll();
|
||||
let component;
|
||||
|
||||
Reference in New Issue
Block a user