😎调整form的label宽度为自动

This commit is contained in:
zuohuaijun 2024-07-06 00:58:37 +08:00
parent 2cb291e6d7
commit a437211418

View File

@ -20,7 +20,7 @@
<template>
<div class="@(@Model.LowerClassName)-container" v-loading="options.loading">
<el-card shadow="hover" :body-style="{ padding: '20px 20px 16px 0px', display: 'flex', width: '100%', height: '100%', alignItems: 'start' }">
<el-form :model="state.queryParams" ref="queryForm" :show-message="false" :inlineMessage="true" :label-width="'60px'" style="flex: 1 1 0%">
<el-form :model="state.queryParams" ref="queryForm" :show-message="false" :inlineMessage="true" label-width="auto" style="flex: 1 1 0%">
<el-row :gutter="10">
@if(Model.QueryWhetherList.Count > 0){
foreach (var column in Model.QueryWhetherList) {