mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
fix(editor): 右键菜单,mac触摸板上容易在菜单出现的时候触发当前鼠标位置的按钮
This commit is contained in:
parent
67e2ba3825
commit
31cbe7818f
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div v-if="menuData.length" v-show="visible" class="magic-editor-content-menu" ref="menu" :style="menuStyle">
|
||||
<div v-if="menuData.length && visible" class="magic-editor-content-menu" ref="menu" :style="menuStyle">
|
||||
<div>
|
||||
<tool-button
|
||||
v-for="(item, index) in menuData"
|
||||
|
Loading…
x
Reference in New Issue
Block a user