Commit 39bec43f authored by renjintao's avatar renjintao

submenus

parent 1f6fcc3d
......@@ -7,7 +7,7 @@
</div>
<div class="mt50 pl10">
<h2>Bmenu</h2>
<div @contextmenu="onCon" class="tc" style="width:120px;height:40px;line-height:40px;background:#f5f5f5;border:#ccc solid 1px; border-radius: 5px;">{{message}}</div>
<div @contextmenu="showBmenu" class="tc" style="width:120px;height:40px;line-height:40px;background:#f5f5f5;border:#ccc solid 1px; border-radius: 5px;">{{message}}</div>
</div>
</div>
</template>
......@@ -92,7 +92,8 @@ export default {
},
],
},
]
];
event.preventDefault();
},
onCon(event) {
this.$contextmenu({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment