feat: add plus shortcut in VnTable
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-08-28 14:06:14 +02:00
parent 72388af418
commit 57c9035751
1 changed files with 2 additions and 1 deletions

View File

@ -281,6 +281,7 @@ defineExpose({
</script>
<template>
<QDrawer
v-shortcut
v-if="$props.rightSearch"
v-model="stateStore.rightDrawer"
side="right"
@ -623,7 +624,7 @@ defineExpose({
</CrudModel>
</div>
<QPageSticky v-if="create" :offset="[20, 20]" style="z-index: 2">
<QBtn @click="showForm = !showForm" color="primary" fab icon="add" />
<QBtn @click="showForm = !showForm" color="primary" fab icon="add" shortcut="+" />
<QTooltip>
{{ createForm.title }}
</QTooltip>