fix: naive tenant dropdown
parent
d7c0bdadf8
commit
5c8c3bf2c7
|
@ -204,7 +204,7 @@ watch(
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #header-right-1>
|
<template #header-right-1>
|
||||||
<TenantDropdown class="w-30 mr-2" />
|
<TenantDropdown class="mr-2" />
|
||||||
</template>
|
</template>
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<AuthenticationLoginExpiredModal
|
<AuthenticationLoginExpiredModal
|
||||||
|
|
|
@ -50,13 +50,13 @@ onMounted(async () => {
|
||||||
<div v-if="tenantEnable && hasAccessByCodes(['system:tenant:visit'])">
|
<div v-if="tenantEnable && hasAccessByCodes(['system:tenant:visit'])">
|
||||||
<NSelect
|
<NSelect
|
||||||
v-model:value="value"
|
v-model:value="value"
|
||||||
:field-names="{ label: 'name', value: 'id' }"
|
value-field="id"
|
||||||
|
label-field="name"
|
||||||
:options="tenants"
|
:options="tenants"
|
||||||
:placeholder="$t('page.tenant.placeholder')"
|
:placeholder="$t('page.tenant.placeholder')"
|
||||||
:dropdown-style="{ position: 'fixed', zIndex: 1666 }"
|
|
||||||
allow-clear
|
allow-clear
|
||||||
class="w-40"
|
class="w-40"
|
||||||
@change="handleChange"
|
@update:value="handleChange"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue