tusen-ai / naive-ui

A Vue 3 Component Library. Fairly Complete. Theme Customizable. Uses TypeScript. Fast.
https://www.naiveui.com
MIT License
15.53k stars 1.63k forks source link

更新到最新2.38.2版本后,form表单中inline模式下select组件宽度没有了 #6050

Open a1113590485 opened 2 weeks ago

a1113590485 commented 2 weeks ago

描述错误

更新到最新2.38.2版本后,form表单中inline模式下select组件宽度没有了

复现步骤

<n-form
            ref="formRef"
            inline
            label-placement="left"
            :model="filterFormData"
            :show-feedback="false"
          >
            <n-form-item label="类型" path="categoryId">
              <n-select clearable
                v-model:value="filterFormData.categoryId"
                label-field="categoryName_Default"
                value-field="code"
                :options="categoryOptions"
                :consistent-menu-width="false"
              />
            </n-form-item>
</n-form>

其中n-select宽度没有了 企业微信截图_17183296619886

最小复现链接

系统信息

使用的包管理器

npm

验证

jahnli commented 2 weeks ago

提供的复现 最小可复现的示例