mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12:49 +08:00
fix: 修改快捷键页面展示
This commit is contained in:
parent
dc347aeb0f
commit
00ba6554b1
@ -12,7 +12,12 @@
|
||||
<tr v-for="(item, index) in shortcutKeyOptions" :key="index">
|
||||
<td>{{ item.label }}</td>
|
||||
<td>{{ item.win }}</td>
|
||||
<td><span class="fs">{{ item.mac.substr(0,1) }}</span> + {{ item.mac.substr(3) }}</td>
|
||||
<td>
|
||||
<n-gradient-text :size="22">{{
|
||||
item.mac.substr(0, 1)
|
||||
}}</n-gradient-text>
|
||||
+ {{ item.mac.substr(3) }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</n-table>
|
||||
@ -55,7 +60,7 @@ const shortcutKeyOptions = [
|
||||
},
|
||||
{
|
||||
label: '删除',
|
||||
win: 'Delete',
|
||||
win: 'Delete'.toUpperCase(),
|
||||
mac: `${MacKeyboard.CTRL.toUpperCase()} + Backspace `,
|
||||
},
|
||||
{
|
||||
@ -98,8 +103,5 @@ const closeHandle = () => {
|
||||
td {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
.fs {
|
||||
font-size: 22px
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user