Commit Graph

2036 Commits

Author SHA1 Message Date
nullcache
6fbb57621e
fix: handleFormValues 不再将所有空字符串转换为undefined (#3496) 2024-01-02 20:18:52 +08:00
xachary
d88f455cd3
fix(BasicTable): showIndexColumn/showRowSelection cache should by route name (#3489) 2024-01-02 09:46:41 +08:00
xiaoMingTongXue
98e2e4c89a
fix(BasicForm): 修复 useComponentRegister 方法无法添加自定义的组件,添加时爆类型错误的问题 (#3483)
* types(component): 修复 useComponentRegister 方法无法添加自定义的组件,添加时爆类型错误的问题

* types(component): 修复 table 组件的 useTableForm 入参的 fetch 和 TableActionType 的 reload 类型定义报错的问题

---------

Co-authored-by: chengmingrui <chengmingrui@oneaiops.com>
2024-01-02 09:44:50 +08:00
xachary
78234e2ef0
style: fix basic tree style alignment (#3487) 2024-01-01 14:10:44 +08:00
xachary
2f921cfb88
fix(BasicTable): avoid select when edit cell (#3484) 2023-12-29 11:50:25 +08:00
xachary
816553bfcd
feat(demo->BasicTable): add TableSelectionBar and enable checkbox rowSelection demo (#3477)
* feat: add TableSelectionBar

* feat: enable TableSelectionBar for checkbox rowSelection demo
2023-12-29 09:20:02 +08:00
xachary
00b8d169cb
style(demo->iframe): fix double scroll when use iframe inner (#3482) 2023-12-29 09:19:09 +08:00
胤玄
dcbe5510d4
fix: Docker 打包逻辑改进,彻底解决缓存问题 (#3473)
* feat: update nginx.conf 使用固定编译入口可能导致浏览器使用缓存js文件,而此配置可以解决

* feat: 更新docker打包逻辑: 原本固定的entry是为了方便替换环境变量,同时在nginx配置内让每次获取js等资源都不走缓存。这样的问题是首次打开会很慢。
因此本次使用的解决方案,回归vben原本的hash+timestamp的入口文件名,但是在环境变量替换的时候使用模糊匹配。
大家有类似需要可以参考环境变量的方式做 单镜像打包多环境的适配。
2023-12-27 14:28:37 +08:00
zzc0217
3de22b44b1
chore: 表单使用updateSchema时只对更新的schema重设默认值
* fix: 修复搜索表单使用updateSchema时,如果使用fieldMapToTime引起的bug

* fix: set all schema to default value

---------

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-12-27 10:47:43 +08:00
xachary
1e34d3e9e4
feat(layout->tabs): support insert new tab after current tab (#3471)
* feat: insert new tab after current tab

* fix: go params declare wrong
2023-12-27 10:19:34 +08:00
invalid w
182b4fc437 chore(dep): update dayjs version 1.11.9 to 1.11.10 2023-12-27 10:09:43 +08:00
xachary
b92c6c40fa
Fix the demo /comp/table/formTable about selection cross pages (#3468)
* fix: keep rowSelection onChange call outside

* fix: demo FormTable about seletion
2023-12-27 09:15:15 +08:00
xachary
fc002d3db3
fix: column setting index column sort (#3463)
* fix: keep rowSelection onChange call outside

* fix: ColumnSetting index column sort wrong
2023-12-26 20:41:03 +08:00
xiaoMingTongXue
141f3bdbd0
fix: 修复表单按钮的类型定义外部无法修改重置或者提交按钮的文字的问题
* 解决 eslint-plugin-vue 关于 v-show 无法在 template 中报错的问题

* fix: 修复表单按钮的类型定义外部无法修改重置或者提交按钮的文字的问题

* chore: remove type ButtonOptions

---------

Co-authored-by: chengmingrui <chengmingrui@oneaiops.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-12-26 17:56:13 +08:00
xachary
cc97f06354
fix: modal open logic missing (#3462)
* fix: keep rowSelection onChange call outside

* fix: watch open logic lost after build (modal)
2023-12-25 19:43:37 +08:00
xachary
a7b2f14b90
fix(BasicTable): keep rowSelection onChange call outside (#3461). resolve #3453 2023-12-25 17:15:39 +08:00
luocong2016
b57d9fc60d
feat(demo->useRequest): 更新useRequest 依赖 Effect 函数案例 (#3460) 2023-12-25 17:00:01 +08:00
苗大
1b763fceee
style: 优化滚动条深色模式样式 (#3458) 2023-12-25 14:31:44 +08:00
luocong2016
7fa2578e6d
feat(demo->useRequest): 更新错误重试示例 (#3456) 2023-12-25 14:31:11 +08:00
xachary
75f5b7ac4d
fix(BasicTable): index still show when set showIndexColumn false (#3455) 2023-12-25 11:29:58 +08:00
luocong2016
d6d1120d00
feat(demo): hooks useRequest 异步数据管理 (#3447) 2023-12-22 16:50:41 +08:00
likui628
9e055ad273 fix: FormItem won't render when a component is not provided 2023-12-21 16:58:57 +08:00
likui628
2db4cfbd33 chore: remove slot from ComponentFormSchema type 2023-12-21 16:12:57 +08:00
xk
6bb79180fc
feat(BasicForm): Improve ts types for BasicForm (#3426)
* fix(ApiCascader): Resolve api type conflict with labelField/valueField

* chore: Improve ts types for BasicForm

* fix(ApiCascader): Resolve API type error

* chore: Resolve type:check error

* chore: fix form type error

* fix(ApiRadioGroup): Resolve api type conflict with labelField/valueField

* fix(ApiTree): api type error

* chore(demo): form basic page schemas use FormSchemaAll

* chore: FormSchemaAll to FormSchema

* fix: ComponentFormSchemaType

* fix: Object literal may only specify known properties

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2023-12-21 15:59:32 +08:00
xachary
65122ea1a5
fix(BasicTable): ColumnSetting about selectedRowKeys override (#3446) 2023-12-21 09:37:41 +08:00
xachary
86ecb2729e
fix(BasicTable): column setting about action fixed and default not cache (#3441) 2023-12-20 09:14:35 +08:00
松鼠
7ba83e71bf
fix(BasicTable): 滑动表格内容合计行不跟随滑动bug (#3438) resolve #2166 2023-12-19 14:42:35 +08:00
苗大
b008c44246
perf(darkMode): 深色模式颜色定义以及切换方式优化 (#3436)
* perf(darkMode): 深色模式颜色定义以及切换方式优化

* perf: text-color rgb->rgba

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-12-18 21:15:23 +08:00
苗大
2bc8981b4f
style(autofill): 修复深色模式输入框自动填充后样式异常; 修正登录页不恰当全局样式 (#3435)
* fix(autofill): 修复深色模式输入框自动填充后样式异常

* perf(Login): 去除登录页重复autofill样式;ant-divider-inner-text样式改为仅对登录页深色模式生效

---------

Co-authored-by: 苗大 <caoshengmiao@hypergryph.com>
2023-12-18 17:35:00 +08:00
xachary
089a98953e
fix: watch open logic lost after build (#3421)
* fix: watch open logic lost after build

* fix: drawer for better understand
2023-12-16 21:33:44 +08:00
xachary
404a4720b0
fix: EditableCell about checked/unChecked Value, getDisable, rowKey missing for updating (#3418). resolve #3419 2023-12-15 16:12:43 +08:00
xiaoMingTongXue
d502e1d493
fix:修复气泡确认框的底部按钮换行的问题 (#3413)
* fix:修复气泡确认框的底部按钮换行的问题

* fix: 修复气泡确认框的底部按钮换行的问题
2023-12-14 10:53:19 +08:00
xachary
af6e73b83f
style: tabs bottom double line fix (#3415) 2023-12-14 09:27:48 +08:00
xachary
e23f29464b
feat(IconPicker): IconPicker could allowClear and readonly for form (#3414) 2023-12-14 09:26:34 +08:00
bowen
595b1ce680
fix(FormTable): Invert select bug (#3412) 2023-12-14 09:13:36 +08:00
invalid w
23b684977c chore: 自定义组件默认rule校验默认触发逻辑为blur 2023-12-13 18:34:02 +08:00
invalid w
1296590e3a chore(ApiRadioGroup): 移除多余的change事件 2023-12-13 18:28:56 +08:00
invalid w
ccf4027533 fix(ApiSelect): 修复监听不到params的变动 2023-12-13 17:35:25 +08:00
invalid w
fdde6f06b2 fix(BasicForm->ApiRadioGroup): when options click, duplicate requests. resolve #3387 2023-12-13 17:25:45 +08:00
luchanan
2828ed304a
Revert "feat: table搜索表单值发生改变可以触发reload (#3378)" (#3407)
This reverts commit 1ca3f7c2c0.
2023-12-13 09:11:07 +08:00
xachary
fec67b4d53
fix(BasicTable): ColumnSetting mistake when use setColumns (#3408) 2023-12-13 09:10:17 +08:00
luocong2016
d3600daf5c
fix: navigator.clipboard 兼容问题 #3372 (#3403) 2023-12-12 15:25:13 +08:00
xachary
f4df2d5a4b
feat: ColumnSetting and SizeSetting persist (#3398) 2023-12-12 12:04:03 +08:00
bowen
57e6e4f004
fix(BasicDrawer): remove toRaw props (#3399) 2023-12-11 17:55:01 +08:00
jackhoo(胡彪)
0a1a5ffedc
feat(hooks): useWatermark添加水印防篡改功能(#3395) (#3397)
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
2023-12-11 14:14:00 +08:00
xachary
20698c052c
fix: table height calc when fullcontent and footer visible change (#3392)
* fix: table height calc when fullcontent and footer visible change

* fix: useRootSetting dep path wrong
2023-12-11 09:49:26 +08:00
TOUCHERS
bca5154a9d
fix(BasicTable): table表格宽度自适应,隐藏的列导致宽度增加 (#3388) 2023-12-08 09:13:14 +08:00
luchanan
6b6b790f87
fix: 使用suffix时,label没有垂直居中 (#3384) 2023-12-07 10:52:42 +08:00
luchanan
1ca3f7c2c0
feat: table搜索表单值发生改变可以触发reload (#3378) 2023-12-06 12:07:14 +08:00
zhang
e656b5d8dc
feat(treeTable): add function collapseRows and demo (#3375)
* feat(treeTable): add function collapseRows and demo
2023-12-04 11:54:31 +08:00