iot-manage-dashboard/playground/src
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
..
adapter fix: 优化组件方法透传并新增表单弹窗示例 (#6443) 2025-07-02 19:58:48 +08:00
api fix: json-bigint parse used in vxeTable (#6271) 2025-05-24 13:01:58 +08:00
layouts fix: watermark settings in the preferences modified accidentally (#5823) 2025-03-31 09:06:02 +08:00
locales Merge branch 'main' into feature/scroll_to_the_error_field 2025-07-06 21:19:52 +08:00
router Merge branch 'main' into feature/scroll_to_the_error_field 2025-07-06 21:19:52 +08:00
store refactor: modify the default homepage path loaded from the preference… (#6099) 2025-05-03 16:03:08 +08:00
views perf: 优化useVbenForm样式 (#6611) 2025-08-07 23:48:34 +08:00
app.vue refactor: migrate demo applications to playground (#4116) 2024-08-11 16:09:32 +08:00
bootstrap.ts fix: component Input is not registered when initialize page (#6246) 2025-05-23 15:21:09 +08:00
main.ts refactor: migrate demo applications to playground (#4116) 2024-08-11 16:09:32 +08:00
preferences.ts perf: improve the usage documentation of vben-vxe-table (#4829) 2024-11-06 23:03:33 +08:00