Vben
bf5e697c42
chore: update dependencies and documentation, optimize build toolchain ( #6060 )
* chore: update packageManager version to pnpm@10.9.0 for compatibility improvements
* chore: Update dependent versions and configurations to improve compatibility and stability
- Update Node version to 22.1.0
- Updated pnpm version to 10.10.0
- Fixed syntax error in prettier command in lintstagedrc
- Update dependent versions in pnpm-lock.yaml to ensure consistency
- Update format and content in README documents to improve readability
* fix: lint error
1 year ago
vem
9437e97ce4
fix: Update existing route index to prevent 404 on user switch ( #6003 )
Co-authored-by: tars-macmini <vem@qq.com>
1 year ago
Netfan
77c09b4ddf
fix: lock state will not change overflow style in drawer and modal ( #6067 )
* Modal和Drawer的锁定状态不再修改overflow样式
1 year ago
Gahotx
70d07c683a
fix: add rounded corners to project and quick nav items ( #5296 )
1 year ago
Vben
e840905934
chore: update dependency version for improved stability and compatibility ( #6023 )
* chore: update dependency version for improved stability and compatibility
* fix: optimize clearPoints function in useCaptchaPoints hook to improve performance
* fix: make several props optional in various components for better flexibility
1 year ago
vben
25b0822afd
chore: release v5.5.5
1 year ago
Netfan
8292024fc7
feat: encrypt the privacy data when it is persisted ( #6056 )
* 对私密数据持久化时执行加密
* 将锁屏密码合并到accessStore中进行加密
1 year ago
ming4762
1a73329691
perf: improve destroyOnClose for VbenDrawer&VbenModal ( #6051 )
* fix: fix that the default value of modal destroyOnClose does not take effect
* perf: improve destroyOnClose for VbenDrawer
1 year ago
Netfan
ab161444fc
fix: title of search button in vxeTable toolbar ( #6046 )
* 修改vxeTable工具栏里的搜索按钮的提示文案
1 year ago
Netfan
0243e68fbe
feat: vbenSelect support prop `allowClear` ( #6043 )
1 year ago
panda7
e320311128
fix: the initial value echo for the check-button-group ( #6029 )
Co-authored-by: sqchen <9110848@qq.com>
1 year ago
Netfan
1faa52335c
fix: alert confirm state in beforeClose callback ( #6019 )
1 year ago
pangyajun123
9ff600657b
fix: vxe-table theme token follow primary color ( #6007 )
1 year ago
wyc001122
d14527a292
fix: fix geader menu activation path ( #5997 )
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
1 year ago
Netfan
eb70c48d14
fix: alert send wrong confirm state to beforeClose ( #5991 )
* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态
1 year ago
Netfan
302de1deaf
fix: destroyOnClose works within connectedComponent ( #5989 )
* 修复destroyOnClose没能销毁connectedComponent自身的问题
1 year ago
Netfan
a4da6dedf8
fix: fixed arguments of callbacks in `formApi` ( #5970 )
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题
* 修复 `handleReset` 未能传递正确参数的问题
1 year ago
Netfan
332a8be29c
feat: pass `fieldsChanged` into the `handleValuesChange` callback function ( #5968 )
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
1 year ago
ming4762
357ae0e565
perf: improve `destroyOnClose` for VbenModal ( #5964 )
1 year ago
LinaBell
fe2310300c
perf: `beforeClose` of drawer support promise ( #5932 )
* perf: the beforeClose function of drawer is consistent with that of modal
* refactor: drawer test update
1 year ago
wyc001122
39f9c6a3f4
fix: determine if scrollbar has been totally scrolled ( #5934 )
* 修复在系统屏幕缩放比例不为100%的情况下,滚动组件对是否已滚动到边界的判断可能不正确的问题
1 year ago
ming4762
48c616ea81
fix: modal closing animation ( #5960 )
1 year ago
ming4762
06e279c917
feat: `modal`&`drawer` support `center-footer` slot ( #5956 )
1 year ago
lztb
ff65b061ef
feat: vben-form添加arrayToStringFields属性 ( #5957 )
* feat: vben-form添加arrayToStringFields属性
* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致
---------
Co-authored-by: 米山 <17726957223@189.cn>
1 year ago
Netfan
b8f145aa7f
feat: add more expose methods for `apiComponent` ( #5958 )
* 为ApiComponent组件添加getOptions和getValue导出方法。
1 year ago
Netfan
091596eda8
feat: add `useAlertContext` for Alert component ( #5947 )
* 新增Alert的子组件中获取弹窗上下文的能力
1 year ago
Netfan
6e5ddb6d25
feat: alert support customize `footer` ( #5940 )
* Alert组件支持自定义footer
1 year ago
Netfan
46a10959c8
fix: long navigation menu can be scrolled ( #5939 )
* 修复超长的导航菜单无法纵向滚动的问题
1 year ago
ming4762
382df99988
perf: improve `destroyOnClose` for `VbenModal` ( #5935 )
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题
影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据
* fix: modal closing animation
---------
Co-authored-by: Netfan <netfan@foxmail.com>
1 year ago
ming4762
d00b6bb83e
perf: improve `autoSelect` of `ApiComponent` ( #5936 )
* fix: 修复autoSelect不生效的问题,props.valueField已经被omit了
* feat: ApiComponent autoSelect支持使用函数,可以满足灵活性要求更高的场景
1 year ago
Netfan
82a05e3b3a
feat: api-component support autoSelect prop ( #5931 )
* feat: api-component support autoSelect prop
* docs: add version requirement
1 year ago
Netfan
a4682a7116
fix: alert animation ( #5927 )
1 year ago
Netfan
a8935aaf8c
fix: builtin color change throttled in preference drawer ( #5924 )
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
1 year ago
Netfan
a6b480fb8f
fix: theme mode follow the system only `auto` ( #5923 )
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
1 year ago
Netfan
a87fa3ffbe
fix: alert action button focus, fixed #5921 ( #5922 )
* 修复Alert组件的按钮焦点切换问题
1 year ago
zhang
d450df946c
chore: 导出框架自带的组件,方便独立页面使用 ( #5876 )
1 year ago
Netfan
20f902ed2c
feat: electron control buttons
1 year ago
Netfan
7536be5e49
feat: electron support
1 year ago
Netfan
329a176a5c
perf: optimize bootstrap modules to speed up first-screen loading ( #5899 )
优化首屏加载速度
1 year ago
Netfan
9379093a4f
feat: customizable table separator ( #5898 )
* 表格的分隔条支持定制背景色或完全移除
1 year ago
ming4762
c9014d0338
perf: 优化关闭页面切换动画的tab切换性能 ( #5883 )
1 year ago
Netfan
a8c5df38e9
fix: possible circular reference issue during build ( #5894 )
* 修复构建期间出现的循环引用警告
1 year ago
Netfan
71e8d12b70
fix: improve prompt component ( #5879 )
* fix: prompt component render fixed
* fix: alert buttonAlign default value
1 year ago
Netfan
d216fdca44
feat: support logo text slot ( #5872 )
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
1 year ago
wyc001122
384c5d7dbb
fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 ( #5870 )
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
1 year ago
Netfan
b0ad08dbbc
feat: use the not-found component instead of the invalid route component in the backend mode ( #5871 )
* 后端菜单模式下,使用not-found组件代替无效的路由组件
1 year ago
Rascal-Coder
3600603016
fix: vxeGrid height fixed #5861 ( #5862 )
1 year ago
Netfan
7933da8f66
chore: update deps ( #5854 )
1 year ago
Netfan
ecf518bb02
fix: alert `beforeClose` callback arguments fixed ( #5845 )
1 year ago
ming4762
1d9f1be004
fix: 解决AccessModeType:backend登录过期,重新登录不会重新生成路由的问题,重现步骤分析: ( #5830 )
1、长时间未登录登录过期,再次打开页面构开始生成动态路由
2、fetchMenuListAsync后台返回401登录过期:doReAuthenticate函数跳转到登录页面
3、异常被拦截,return []
4、gurad.ts accessStore.setIsAccessChecked(true); 被错误的标识为已生成路由
5、重新登录后,accessStore.isAccessChecked=true未能正确的重新生成路由
1 year ago