feat: 新增快捷键列表关闭功能

This commit is contained in:
奔跑的面条 2022-04-13 11:41:45 +08:00
parent f304a4f27a
commit 9c8fab832e

View File

@ -1,11 +1,22 @@
<template>
<n-modal v-model:show="modelShow" @afterLeave="closeHandle">
<n-modal
v-model:show="modelShow"
:mask-closable="true"
@afterLeave="closeHandle"
>
<n-table class="model-content" :bordered="false" :single-line="false">
<thead>
<tr>
<th>功能</th>
<th>Win 快捷键</th>
<th>Mac 快捷键</th>
<th>
<n-space justify="space-between">
<span> Mac 快捷键 </span>
<n-icon size="20" class="go-cursor-pointer" @click="closeHandle">
<close-icon></close-icon>
</n-icon>
</n-space>
</th>
</tr>
</thead>
<tbody>