Commit Graph

10 Commits (0a99f27127efba09ceff9a6fc63c84bd9c439aba)

Author SHA1 Message Date
Vben ba4662522e
fix: fix request not displaying interface error messages correctly (#4596) 2024-10-09 22:08:55 +08:00
Vben 4765158510
perf: the request client upload function supports more parameters (#4439) 2024-09-19 22:13:43 +08:00
Vben 524b9badf2
feat: add VbenForm component (#4352)
* feat: add form component

* fix: build error

* feat: add form adapter

* feat: add some component

* feat: add some component

* feat: add example

* feat: suppoer custom action button

* chore: update

* feat: add example

* feat: add formModel,formDrawer demo

* fix: build error

* fix: typo

* fix: ci error

---------

Co-authored-by: jinmao <jinmao88@qq.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2024-09-10 21:48:51 +08:00
Vben b3e3e05990
perf: axios default error interceptor allows you to customize error handling (#4283) 2024-08-30 22:06:02 +08:00
Li Kui df7757d001
fix: when the 'refreshToken' expires, it does not re-authenticate (#4231) 2024-08-26 09:54:42 +08:00
Li Kui 01d60336a6
feat: refactor and improve the request client and support refreshToken (#4157)
* feat: refreshToken

* chore: store refreshToken

* chore: generate token using jsonwebtoken

* chore: set refreshToken in httpOnly cookie

* perf: authHeader verify

* chore: add add response interceptor

* chore: test refresh

* chore: handle logout

* chore: type

* chore: update pnpm-lock.yaml

* chore: remove test code

* chore: add todo comment

* chore: update pnpm-lock.yaml

* chore: remove default interceptors

* chore: copy codes

* chore: handle refreshToken invalid

* chore: add refreshToken preference

* chore: typo

* chore: refresh token逻辑调整

* refactor: interceptor presets

* chore: copy codes

* fix: ci errors

* chore: add missing await

* feat: 完善refresh-token逻辑及文档

* fix: ci error

* chore: filename

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-08-19 22:59:42 +08:00
Vben 4f5783d00b
perf: enable strict ts type checking (#4045) 2024-08-05 21:12:22 +08:00
vben 082847c441 chore: Resolve merge conflicts 2024-07-31 21:26:54 +08:00
Vben 376fd17a61
feat: Feature/pro docs (#70)
* chore: merge main

* feat: update docs

* feat: remove coze-assistant

* feat: add watermark plugin

* feat: update preferences

* feat: update docs

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-07-28 14:29:05 +08:00
vince 14538f7ed5 refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00