fix: side menu display incorrectly
This commit is contained in:
parent
bce8e773e9
commit
b98a5a9efe
1 changed files with 50 additions and 36 deletions
|
|
@ -1616,24 +1616,31 @@ watch(
|
||||||
>
|
>
|
||||||
<div class="q-py-md q-pl-md q-pr-sm">
|
<div class="q-py-md q-pl-md q-pr-sm">
|
||||||
<SideMenu
|
<SideMenu
|
||||||
:menu="[
|
:menu="
|
||||||
{
|
[
|
||||||
name: $t('formDialogTitleInformation'),
|
{
|
||||||
anchor: 'info-information',
|
name: $t('formDialogTitleInformation'),
|
||||||
},
|
anchor: 'info-information',
|
||||||
{
|
},
|
||||||
name: $t('formDialogTitlePersonal'),
|
{
|
||||||
anchor: 'info-personal',
|
name: $t('formDialogTitlePersonal'),
|
||||||
},
|
anchor: 'info-personal',
|
||||||
{
|
},
|
||||||
name: $t('formDialogTitleAddressPersonnel'),
|
{
|
||||||
anchor: 'info-address',
|
name: $t('formDialogTitleAddressPersonnel'),
|
||||||
},
|
anchor: 'info-address',
|
||||||
{
|
},
|
||||||
name: $t('formDialogTitleByType'),
|
].concat(
|
||||||
anchor: 'info-work',
|
!!formData.userType
|
||||||
},
|
? [
|
||||||
]"
|
{
|
||||||
|
name: $t('formDialogTitleByType'),
|
||||||
|
anchor: 'info-work',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: [],
|
||||||
|
)
|
||||||
|
"
|
||||||
background="transparent"
|
background="transparent"
|
||||||
:active="{
|
:active="{
|
||||||
background: 'hsla(var(--blue-6-hsl) / .2)',
|
background: 'hsla(var(--blue-6-hsl) / .2)',
|
||||||
|
|
@ -1824,24 +1831,31 @@ watch(
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div style="position: sticky; top: 0" class="q-pa-sm">
|
<div style="position: sticky; top: 0" class="q-pa-sm">
|
||||||
<SideMenu
|
<SideMenu
|
||||||
:menu="[
|
:menu="
|
||||||
{
|
[
|
||||||
name: $t('formDialogTitleInformation'),
|
{
|
||||||
anchor: 'form-information',
|
name: $t('formDialogTitleInformation'),
|
||||||
},
|
anchor: 'form-information',
|
||||||
{
|
},
|
||||||
name: $t('formDialogTitlePersonal'),
|
{
|
||||||
anchor: 'form-personal',
|
name: $t('formDialogTitlePersonal'),
|
||||||
},
|
anchor: 'form-personal',
|
||||||
{
|
},
|
||||||
name: $t('formDialogTitleAddressPersonnel'),
|
{
|
||||||
anchor: 'form-address',
|
name: $t('formDialogTitleAddressPersonnel'),
|
||||||
},
|
anchor: 'form-address',
|
||||||
{
|
},
|
||||||
name: $t('formDialogTitleByType'),
|
].concat(
|
||||||
anchor: 'form-work',
|
!!formData.userType
|
||||||
},
|
? [
|
||||||
]"
|
{
|
||||||
|
name: $t('formDialogTitleByType'),
|
||||||
|
anchor: 'info-work',
|
||||||
|
},
|
||||||
|
]
|
||||||
|
: [],
|
||||||
|
)
|
||||||
|
"
|
||||||
background="transparent"
|
background="transparent"
|
||||||
:active="{
|
:active="{
|
||||||
background: 'hsla(var(--blue-6-hsl) / .2)',
|
background: 'hsla(var(--blue-6-hsl) / .2)',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue