Showing
5 changed files
with
14 additions
and
7 deletions
... | ... | @@ -53,7 +53,7 @@ const [registerTable] = useTable({ |
53 | 53 | pagination: false, |
54 | 54 | canResize: true, |
55 | 55 | dataSource, |
56 | - maxHeight: 250, | |
56 | + maxHeight: 350, | |
57 | 57 | rowKey: 'uuid', |
58 | 58 | }) |
59 | 59 | |
... | ... | @@ -138,7 +138,7 @@ defineExpose<ComponentExposeType>({ |
138 | 138 | <div> |
139 | 139 | <BasicForm @register="registerSource" /> |
140 | 140 | </div> |
141 | - <section class="w-full h-40"> | |
141 | + <section class="w-full"> | |
142 | 142 | <BasicTable @register="registerTable"> |
143 | 143 | <template #bodyCell="{ column, record }"> |
144 | 144 | <template |
... | ... | @@ -175,7 +175,7 @@ defineExpose<ComponentExposeType>({ |
175 | 175 | <Input v-model:value="record.title" placeholder="请输入标签" class="!w-full" /> |
176 | 176 | </template> |
177 | 177 | <template v-if="column.key === 'flowSpeed' && getDesign.event === ActTypeEnum.DYNAMIC"> |
178 | - <InputNumber v-model:value="record.flowSpeed" placeholder="请输入流速" class="!w-full" /> | |
178 | + <InputNumber v-model:value="record.flowSpeed" placeholder="请输入流速" :max="100" :min="0" class="!w-full" /> | |
179 | 179 | </template> |
180 | 180 | <template v-if="column.key === 'action'"> |
181 | 181 | <TableAction |
... | ... | @@ -210,7 +210,9 @@ defineExpose<ComponentExposeType>({ |
210 | 210 | </template> |
211 | 211 | |
212 | 212 | <style lang="less" scoped> |
213 | -:deep(.ant-table-cell>.css-dev-only-do-not-override-eq3tly) { | |
214 | - margin: 0 !important | |
213 | +:deep(.ant-table-cell) { | |
214 | + .ant-form-item{ | |
215 | + margin: 0 !important | |
216 | + } | |
215 | 217 | } |
216 | 218 | </style> | ... | ... |