Commit Graph

118 Commits (62198ec69cd406670229b9cf1d8adc74c72f6bda)

Author SHA1 Message Date
xingyu4j 7b886b315b feat: 去除 slotName 使用input upload 2025-05-26 18:48:27 +08:00
xingyu4j 67af898baf Merge branch 'master' of https://gitee.com/yudaocode/yudao-ui-admin-vben into dev 2025-05-26 14:49:12 +08:00
xingyu4j be1889a0e0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-26 10:50:54 +08:00
xingyu f64425b724
!88 feat: 添加渠道配置和应用管理功能,更新相关表单和数据结构
Merge pull request !88 from 痴货/pay-master
2025-05-26 02:24:11 +00:00
littlesparklet af186f878d
fix: repair the unexpected form default value (#5567)
* fix: Fix inconsistent spacing around search form (issue #5429)

* fix: repair the unexpected default value in validated form.(issue #5451)

* Update packages/@core/ui-kit/form-ui/src/use-form-context.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 16:05:11 +08:00
Netfan 0c3edb10b0
fix: getFieldComponentRef will return actual ref within AsyncComponentWrapper (#6252)
修复异步加载组件时,表单的getFieldComponentRef方法没能获取到正确的组件实例
2025-05-21 14:48:51 +08:00
xingyu4j 6a1317908a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-06 23:51:36 +08:00
vben cc6c9bf7a0 chore: release v5.5.6 2025-05-06 22:32:58 +08:00
xingyu4j 81a54dfbd0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-06 10:02:03 +08:00
痴货 61e06cce09 feat: 添加支付宝渠道配置和应用管理功能,更新相关表单和数据结构 2025-05-05 12:19:04 +08:00
Vben 17a18fc9ba
chore: close eslint object sorting (#6101) 2025-05-03 16:06:36 +08:00
xingyu4j 4f62d4b8ed Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-02 14:15:19 +08:00
Netfan add1e61b6f
fix: show validation message as tooltip in compact form (#6087)
* 紧凑模式表单的校验消息将显示为一个tooltip
2025-04-30 23:41:44 +08:00
xingyu4j e02b5590dd Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-30 15:50:05 +08:00
Netfan 8aa7dabeff
fix: calculation for collapsing search form is incorrect while initially hidden (#6068)
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
2025-04-28 23:20:33 +08:00
xingyu4j 50d028f6b8 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-28 10:06:29 +08:00
vben 7c7051a11e chore: release v5.5.5 2025-04-27 21:45:10 +08:00
xingyu4j c867f93e0a feat: 封装手机号校验,mobile 非必填校验,mobileRequired 必填校验 2025-04-23 17:51:43 +08:00
xingyu4j acd2787f29 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into v-next-dev 2025-04-22 15:39:53 +08:00
YunaiV 19d5a3e258 feat:Form API 增加 setLoading,:用于非 Modal 中使用 Form 时,需要 Form 自己控制 loading 状态 2025-04-20 08:52:54 +08:00
Netfan f7a4d13a4c
fix: fixed arguments of callbacks in `formApi` (#5970)
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题

* 修复 `handleReset` 未能传递正确参数的问题
2025-04-16 14:11:04 +08:00
Netfan 0936861da1
feat: pass `fieldsChanged` into the `handleValuesChange` callback function (#5968)
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
2025-04-16 11:29:01 +08:00
lztb d864085c13
feat: vben-form添加arrayToStringFields属性 (#5957)
* feat: vben-form添加arrayToStringFields属性

* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致

---------

Co-authored-by: 米山 <17726957223@189.cn>
2025-04-15 16:03:20 +08:00
Netfan 17f156de89 fix: default value for nested fields (#5763) 2025-03-26 22:51:07 +08:00
Netfan 482227003c fix: base component focus color in form (#5760) 2025-03-26 22:51:07 +08:00
Netfan 47d821d179 feat: add `form-is-required` class for required items. fixed: #5739 (#5759) 2025-03-26 22:51:07 +08:00
vben 7a0354f4a8 chore: release 5.5.4 2025-03-26 22:51:07 +08:00
Netfan 03ceb2aac5
fix: default value for nested fields (#5763) 2025-03-21 16:06:14 +08:00
Netfan 39888cebaa
fix: base component focus color in form (#5760) 2025-03-21 09:41:42 +08:00
Netfan efb69fc75f
feat: add `form-is-required` class for required items. fixed: #5739 (#5759) 2025-03-21 09:25:38 +08:00
vben b92ac5c36d chore: release 5.5.4 2025-03-18 21:43:27 +08:00
Netfan feab6b3b30
fix: form item style adjustment (#5694) 2025-03-11 02:47:06 +08:00
Netfan 04dff33ac5 feat: improved formApi for component instance support
* 改进表单API以支持组件实例的获取,以及焦点字段的获取
2025-03-10 02:56:44 +08:00
Netfan 5e421ce607
chore: demo page menu management (#5619)
* 添加菜单管理演示页面
2025-02-27 01:22:25 +08:00
Netfan c9ccd2bbab
fix: form label and control style (#5580)
* fix: form label and control style

* fix: empty label mark with required rules
2025-02-21 11:14:59 +08:00
Netfan a221d2b491
fix: form item overflow fixed and layout improved (#5572)
* fix: form item overflow fixed and layout improved

* fix: basic form demo update

* feat: form label support render

* fix: form docs update
2025-02-20 23:05:08 +08:00
Netfan c07281bf41
fix: form item slot context fixed (#5552)
* 修复表单插槽
2025-02-17 21:37:05 +08:00
Netfan 67d1f299b3
fix: renderComponentContent lose slot props data (#5466)
* 修复FormItem传递插槽时丢失插槽props的问题
2025-01-26 22:33:16 +08:00
vben 195ceec9b4 chore: release 5.5.3 2025-01-21 22:07:55 +08:00
Netfan c3129663eb
fix: form update state error before form mounted (#5406) 2025-01-15 20:11:32 +08:00
Netfan fb0ec05ff8
perf: improve fieldMappingTime to support format function (#5392) 2025-01-14 18:15:00 +08:00
Netfan 624beb6fa0
fix: locale switching logic correction (#5344)
* 修复语言切换后的数据更新逻辑

* 表单默认按钮的content属性可提供computed类型的值
2025-01-10 14:32:21 +08:00
Netfan 7606b86854
fix: vxeGrid init without search form (#5342)
* 修复vxeGrid在未使用表单的情况下,自动加载数据失效的问题。

* 暂时将vxeGrid版本锁定在4.10.0,新版本尺寸计算尚有问题
2025-01-10 11:53:06 +08:00
Netfan 516d0b8dc8
fix: form `fieldMappingTime` improve and `modelPropName` support (#5335)
* 表单的fieldMappingTime支持将格式化掩码设为null以便原值映射,这样可以支持非日期时间类型的组件;
* 表单增加modelPropName设置组件的双向绑定属性名,用于支持未提前注册的双向绑定属性为非默认名称的组件。
* 增加一些经常会有人提到的组合字段演示,
2025-01-09 22:49:28 +08:00
Netfan 2828e7a7b6
fix: form `fieldMappingTime` is not working (#5333)
* fix: form option `fieldMappingTime` is not working

* fix: form merge support `fieldMappingTime`
2025-01-09 12:28:33 +08:00
Vben 081d2aed23
perf: format code with better style (#5283) 2025-01-01 11:39:49 +08:00
vben 07c4ad05f4 chore: release 5.5.2 2024-12-28 22:15:00 +08:00
Netfan b22d900e27
feat: form compact mode support (#5165) 2024-12-17 20:51:17 +08:00
Netfan 181e38733c
fix: form auto submit no effect when showDefaultActions is false (#5163) 2024-12-17 20:15:09 +08:00
Netfan 593916d6aa
feat: form `colon` support (#5156) 2024-12-16 22:37:29 +08:00