From 219f3a7d6f579e599314e643d557054c5d0676b5 Mon Sep 17 00:00:00 2001 From: bleachtred <bleachtred@163.com> Date: 星期五, 19 四月 2024 16:52:40 +0800 Subject: [PATCH] update 设置el-select 的宽度默认为 240px --- src/layout/components/Navbar.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 49018ce..fd4eb8c 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -9,6 +9,7 @@ <el-select v-if="userId === 1 && tenantEnabled" v-model="companyName" + class="min-w-244px" clearable filterable reserve-keyword @@ -92,11 +93,11 @@ import useAppStore from '@/store/modules/app'; import useUserStore from '@/store/modules/user'; import useSettingsStore from '@/store/modules/settings'; +import useNoticeStore from '@/store/modules/notice'; import { getTenantList } from '@/api/login'; import { dynamicClear, dynamicTenant } from '@/api/system/tenant'; import { TenantVO } from '@/api/types'; import notice from './notice/index.vue'; -import useNoticeStore from '@/store/modules/notice'; const appStore = useAppStore(); const userStore = useUserStore(); -- Gitblit v1.9.3