mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-23 05:50:12 +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">
|
<tr v-for="(item, index) in shortcutKeyOptions" :key="index">
|
||||||
<td>{{ item.label }}</td>
|
<td>{{ item.label }}</td>
|
||||||
<td>{{ item.win }}</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>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</n-table>
|
</n-table>
|
||||||
@ -55,7 +60,7 @@ const shortcutKeyOptions = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '删除',
|
label: '删除',
|
||||||
win: 'Delete',
|
win: 'Delete'.toUpperCase(),
|
||||||
mac: `${MacKeyboard.CTRL.toUpperCase()} + Backspace `,
|
mac: `${MacKeyboard.CTRL.toUpperCase()} + Backspace `,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -98,8 +103,5 @@ const closeHandle = () => {
|
|||||||
td {
|
td {
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
.fs {
|
|
||||||
font-size: 22px
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user