ming4762
|
1e6417f95b
|
feat: vBenForm add layout: inline (#6644)
|
2025-08-16 22:41:08 +08:00 |
|
xueyang
|
9fc594434f
|
perf: 优化useVbenForm样式 (#6611)
* perf(style): 优化useVbenForm垂直布局 actions 样式
* perf(style): 优化useVbenForm actions 布局样式
- 操作按钮组显示位置
```
actionPosition?: 'center' | 'left' | 'right';
```
- 操作按钮组的样式
```
actionType?: 'block' | 'inline'
inline: 行类显示,block: 新一行单独显示
```
* perf: 优化useVbenForm actions 布局样式
删除 actionType
增加 actionLayout
- actionLayout?: 'inline' | 'newLine' | 'rowEnd';
- newLine: 在新行显示。rowEnd: 在行内显示,靠右对齐(默认)。inline: 使用grid默认样式
- 删除无用代码 queryFormStyle
* perf: 优化useVbenForm使用案例
* perf: 优化form组件样式
去掉padding,改为gap
* docs: update vben-form.md
* fix: 修复FormMessage位置
* perf: Avoid direct mutation of props object.
- props.actionLayout = props.actionLayout || 'rowEnd';
- props.actionPosition = props.actionPosition || 'right';
+ const actionLayout = props.actionLayout || 'rowEnd';
+ const actionPosition = props.actionPosition || 'right';
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix: 修复 wrapperClass 权重
* fix: 全局搜索结果不匹配 #6603
* fix: 避免FormMessage溢出
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
|
2025-08-07 23:48:34 +08:00 |
|
Vben
|
6c4a742627
|
refactor: remove the adapter bucket introduction pattern and improve potential introduction timing (#4635)
* refactor: remove the adapter bucket introduction pattern and improve potential introduction timing
* chore: update deps
|
2024-10-14 22:53:23 +08:00 |
|
Vben
|
2d019b3c8a
|
refactor: change the form button field from text to content to prevent conflicts with the frame (#4586)
* refactor: change the form button field from text to content to prevent conflicts with the frame
|
2024-10-07 16:30:41 +08:00 |
|
Vben
|
161820dbc1
|
fix: improve the scroll bar flashing when the modal box is opened (#4438)
|
2024-09-19 21:56:49 +08:00 |
|
Vben
|
524b9badf2
|
feat: add VbenForm component (#4352)
* feat: add form component
* fix: build error
* feat: add form adapter
* feat: add some component
* feat: add some component
* feat: add example
* feat: suppoer custom action button
* chore: update
* feat: add example
* feat: add formModel,formDrawer demo
* fix: build error
* fix: typo
* fix: ci error
---------
Co-authored-by: jinmao <jinmao88@qq.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
|
2024-09-10 21:48:51 +08:00 |
|