mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	fix: 查询label宽度自动适配
This commit is contained in:
		@@ -12,7 +12,7 @@
 | 
				
			|||||||
                <div>
 | 
					                <div>
 | 
				
			||||||
                    <div v-if="props.query.length > 0" class="query-head">
 | 
					                    <div v-if="props.query.length > 0" class="query-head">
 | 
				
			||||||
                        <div style="display: flex; align-items: center;">
 | 
					                        <div style="display: flex; align-items: center;">
 | 
				
			||||||
                            <el-form :model="props.queryForm" label-width="70px" style="display: flex;">
 | 
					                            <el-form :model="props.queryForm" label-width="auto" style="display: flex;">
 | 
				
			||||||
                                <el-form-item :label="item.label" style="margin-right: 20px; margin-bottom: 0px;"
 | 
					                                <el-form-item :label="item.label" style="margin-right: 20px; margin-bottom: 0px;"
 | 
				
			||||||
                                    v-for="item in props.query?.slice(0, defaultQueryCount)" :key="item.prop">
 | 
					                                    v-for="item in props.query?.slice(0, defaultQueryCount)" :key="item.prop">
 | 
				
			||||||
                                    <!-- 这里只获取指定个数的筛选条件 -->
 | 
					                                    <!-- 这里只获取指定个数的筛选条件 -->
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user