Jin Mao
962141b778
refactor(auth): 注释掉设置 accessToken 的代码
- 在 auth.ts 文件中,注释掉了设置 accessToken 的代码行
- 这可能是为了暂时禁用该功能或进行调试
9 months ago
Jin Mao
625837d9f7
refactor(api): 重构 auth.ts 中的 logoutApi 方法
-移除了未使用的 import 语句
- 重新实现了 logoutApi 方法,使用 client 替代 baseRequestClient
- 为 logoutApi 方法添加了 meta 信息,指定 authRole 为 'logout'
- 删除了未使用的 withCredentials 配置项
9 months ago
Jin Mao
679231dbc8
refactor(playground): 重构 API 请求和响应处理
- 添加 ResponseData 接口,用于统一响应数据格式
- 修改 login 方法,增加状态码和错误信息处理- 添加 logout 方法,暂未实现具体逻辑
- 优化 refreshTokenOnSuccess 处理逻辑
-重构 response success interceptor,增加状态码和错误信息处理
9 months ago
Jin Mao
9b3cc2deb5
refactor(alova): 重构响应成功拦截器处理逻辑
-移除自定义 ResponseData 接口,使用 alova 的 Response接口
- 重新定义 responseSuccessInterceptor 类型为 ResponseSuccessHandler
- 优化响应成功拦截器的执行流程
- 移除不必要的错误抛出和 JSON 解析
9 months ago
Jin Mao
63ccda1bbc
feat(api): 添加服务端认证和国际化支持
- 引入 createServerTokenAuthentication 用于服务端认证
- 在请求头中添加 Accept-Language 以支持国际化
-优化 client 实例创建方式,使用解构赋值
9 months ago
Jin Mao
34c73b73d9
refactor(alova): 重构 AlovaClient 类并添加泛型支持
- 为 AlovaClient 类添加泛型参数 T,默认为 AlovaGenerics
- 重构请求拦截器和响应拦截器的类型定义
- 新增 ResponseData接口定义标准响应数据结构- 新增 ResponseSuccessMethod 类型定义请求成功拦截器方法
- 优化构造函数,支持传入自定义认证选项
- 为类方法添加 JSDoc 注释,提高代码可读性
- 更新 pnpm-lock.yaml,添加 alova 依赖
9 months ago
Jin Mao
0b6b4e00ef
refactor(auth): 优化刷新令牌的响应格式
- 引入 useResponseSuccess 函数以统一响应格式
- 修改返回值为包含 accessToken 的对象
- 删除多余的空行
9 months ago
Jin Mao
2a06d3aa06
feat(api): 集成 Alova 请求库
- 引入 AlovaClient 并配置登录、刷新 token 等功能
- 重构 auth 和 user API,使用新的 AlovaClient
- 添加请求成功拦截器,统一处理错误码
9 months ago
Jin Mao
d6a0ddea4c
feat(effects): 添加 Alova 请求库支持
- 新增 Alova 客户端类,提供请求拦截器和响应处理功能
- 在 package.json 中添加 Alova相关配置
- 更新 pnpm-workspace.yaml,添加 Alova依赖
9 months ago
Ken Hai
ffaf85c8f3
fix: 修复角色修改时VbenTree组件没有回显选中 ( #6662 )
* fix: 修复角色修改时VbenTree组件没有回显选中
* chore: use nextTick
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix: merge
* chore: 更新
---------
Co-authored-by: haiyinlong <haiyinlong@uhigame.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
9 months ago
panda7
2cc78f925f
fix: the bug in the lock method of the vbenModal component ( #6648 )
9 months ago
ming4762
93f0eea4e7
fix: fix the issue of excessive line spacing in vbenForm ( #6653 )
* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距
9 months ago
谦元吉
58e3941810
chore(docs): update the component import of the form adapter description in the document ( #6656 )
9 months ago
Svend
3ad433a50b
fix: 修复在 hash 路由模式下无法在新窗口打开路由的问题 ( #6652 )
此问题是由于 PR #6583 中新增的 `resolveHref` 函数导致的。其在 hash 路由模式下,得到的 URL 会包含 #/ 前缀。在经过 openRouteInNewWindow 的逻辑后就会出现两次 /# 前缀
9 months ago
ming4762
8ac2db5b7c
fix: fix the issue of `VbenForm` `compact` reactive failure ( #6654 )
9 months ago
Elm1992
a441dcebae
fix: meta.link invalid issue
10 months ago
Vben
ff4704d5ea
chore: Upgrade vite to version 7.x ( #6645 )
10 months ago
菠萝吹雪
6ddfbd84b0
chore: modify the contributor showcase in the README ( #6636 )
10 months ago
ming4762
1e6417f95b
feat: vBenForm add layout: inline ( #6644 )
10 months ago
vben
e147a9d2fd
chore: release 5.5.9
10 months ago
谦元吉
4efebb8c0b
fix:update ( #6635 )
10 months ago
gxc685
9ce0df88ae
fix: 修复mock里面eventHandler重复导致无法启动 ( #6631 )
10 months ago
谦元吉
3cf0c0eb04
fix( @vben/backend-mock ): go back to the last modification ( #6634 )
* fix(@vben/backend-mock ): the version went back to the last submission, and the latest submission was completely useless.
* fix: resolve conflicts
10 months ago
谦元吉
ab7e363279
fix( @vben/backend-mock ): fix all ts type errors in this module ( #6613 )
* fix(@vben/backend-mock ): 修复所有 ts 类型报错
* fix(@vben/backend-mock ): 修复该模块所有 ts 类型报错
* fix(@vben/backend-mock ): 解决 coderabbitai
* fix(@vben/backend-mock ): 解决 coderabbitai
* fix(@vben/backend-mock ): 解决 coderabbitai
10 months ago
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>
10 months ago
leo
b93e22c45a
fix( @vben/layouts ): respect base URL when opening route in new window ( #6583 )
Previously, the generated URL for opening routes in a new window did not include the router base,
which led to incorrect paths when the app was deployed under a subdirectory (e.g., /admin/).
This change ensures that the resolved path includes the configured base by using
router.resolve(path).href.
10 months ago
Jin Mao
193f5b6512
Merge branch 'main' into 2025072604
10 months ago
Jin Mao
cb3f96683f
fix: 修复双列布局模式下,路由为hideInMenu时,空白右列
10 months ago
zhongming4762
06ffdf164a
feat: add dingding login
10 months ago
ming4762
5b75e5e917
perf: perf the control logic of `VbenModal` full screen and header ( #6566 )
* resolve the issue of header=false and full screen button display but not operable
10 months ago
aonoa
fad0b49841
fix: adding roles does not automatically refresh ( #6548 )
* fix: adding roles does not automatically refresh
* style: fix code style err
10 months ago
Jin Mao
260e45cd7b
Merge branch 'main' into feat/add-vben-modal-animation
10 months ago
vben
1575619d53
chore: release v5.5.8
10 months ago
Jin Mao
d5a36a167d
fix: fix vxeTable commit proxy ( #6536 )
* fix: 修正use-vxe-grid中的代理配置提交类型
* chore: change config
10 months ago
panda7
fc9ea347ca
Merge branch 'main' into feat/add-vben-modal-animation
11 months ago
panda7
1a9b0509d5
feat: add animation effects to VbenModal component
11 months ago
panda7
07b64ad384
feat: add function support for formItemClass prop ( #6511 )
* feat: add function support for formItemClass prop
* feat: add try-catch to formItemClass function
* fix: formItemClass function ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
11 months ago
Jin Mao
1bc5d2986b
chore: update-vxe-table ( #6516 )
* chore: update vxe-pc-ui,vxe-table
* fix(ui): 修复代理配置初始化方法名错误
* fix(ui): 修改远程表格刷新配置
* chroe: update vxeTable
更新到最新
11 months ago
HamWong
bb36cca315
fix: 锁定屏幕页面样式自适应 ( #6480 )
11 months ago
Jin Mao
b8bf482c6a
Merge branch 'main' into form
11 months ago
Jin Mao
3b673ca915
Merge branch 'main' into feature/scroll_to_the_error_field
11 months ago
Jin Mao
bbf0287511
chore: fix lint warning ( #6487 )
11 months ago
panda7
d4786f3f75
Merge branch 'main' into feature/scroll_to_the_error_field
11 months ago
xue-jn
b333fd676d
docs: update vben-drawer.md ( #6478 )
* docs: update vben-drawer.md
* docs: update vben-drawer.md
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
11 months ago
sqchen
f1051c8773
feat: add scrollToFirstError to the form component
11 months ago
sqchen
243f3a201d
feat: add scrollToFirstError to the form component
11 months ago
陈蔚然
2f7de243f6
Merge branch 'vbenjs:main' into slider-translate-captcha
11 months ago
chenweiran
1aafb43103
feat: 增加基于图片拼图切片平移的验证码
11 months ago
chenweiran
8ccd01ade5
feat: 增加基于图片拼图切片平移的验证码
11 months ago
Netfan
e6bfbce6cb
revert: page height fixed,revert #6422
11 months ago