Commit Graph

29 Commits (04f29614aa7c5a1fddcf556ce261d823dbca05d2)

Author SHA1 Message Date
Vben 20a3868594
feat: add modal and drawer components and examples (#4229)
* feat: add modal component

* feat: add drawer component

* feat: apply new modal and drawer components to the layout

* chore: typo

* feat: add some unit tests
2024-08-25 23:40:52 +08:00
Vben 2288827265
fix: fixed the failure to refresh the page when login failed (#4204) 2024-08-20 22:33:25 +08:00
Vben 1db87ff7ce
fix: fix keepAlive parameter error (#4194)
* fix: mock server deployment error

* chore: typo
2024-08-19 23:28:14 +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 9120d20143
chore: update deps and docs (#4184)
* chore: update deps

* chore: update docs

* chore: update menu
2024-08-18 08:43:00 +08:00
Vben 8f40d5107c
feat: support custom background colors for sidebar and header (#4151)
* feat: support custom background colors for sidebar and header

* fix: type error
2024-08-14 21:47:37 +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
vben bcd5e49117 chore: update deps 2024-07-20 10:00:41 +08:00
vben 30d4057216 feat: add tabs demo 2024-07-20 09:36:10 +08:00
vben 9987451647 feat: use simpler nitro instead of nestjs to implement mock service 2024-07-20 08:31:05 +08:00
vince cb161eab89 fix: fixed svg icon load failure and enabled global injection bem.scss 2024-07-17 22:30:18 +08:00
Li Kui 9021e992ad fix: resolve redirect not found issue and remove /demos prefix
- Resolved the issue where redirects were not found in the router
- Standardized the removal of the /demos prefix from routes
2024-07-16 07:59:58 +08:00
vince a5edb67b12 chore: update app name 2024-07-14 23:10:48 +08:00
vben e441d14fa2 refactor(project): @vben/vite-connect is reconfigured to support synchronization 2024-07-13 21:13:42 +08:00
vben daa31f7156 refactor(project): simplified part of the package, code optimization 2024-07-13 16:35:47 +08:00
Li Kui ba780a7d3f chore: update access demo 2024-07-13 11:49:18 +08:00
Li Kui 7801a90dcb
refactor: unify frontend and backend access control with shared page … (#43)
* refactor: unify frontend and backend access control with shared page components

* fix: role switch not show

* chore: update title
2024-07-13 11:26:36 +08:00
vince f98f504534 chore: change how the package is built 2024-07-12 22:24:32 +08:00
vince d62a3da009 perf: improve the logic related to login expiration 2024-07-11 20:11:11 +08:00
vince 4674380266 perf: optimize the naming of locale key 2024-07-10 21:55:16 +08:00
vince a765d3bbc0 feat: new interface pendant can be configured to display hidden 2024-07-10 21:20:11 +08:00
vince 35ca56437c chore: update scripts 2024-07-09 14:38:47 +08:00
vben 37a4f971c8 feat: Improve the front-end and back-end permission mode and useAccess 2024-07-06 13:28:08 +08:00
vince dd71988253 chore: update deps 2024-07-05 23:22:37 +08:00
vince 8042e2b044 perf: Improve the use of store in the app 2024-07-05 23:15:46 +08:00
vben 484a0903e9 chore: update deps 2024-06-30 23:15:23 +08:00
vben 692225cfff chore: remove sqlite 2024-06-30 22:28:35 +08:00
vben 9572d1a1c5 feat: Dynamically get the menu from the back end 2024-06-30 15:03:37 +08:00
vben ca1cad0cd3 feat: add backend-mock app 2024-06-30 14:09:44 +08:00