adminforth 2.13.0-next.21 → 2.13.0-next.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -199,6 +199,9 @@ async function login() {
199
199
  if (resp.error) {
200
200
  error.value = resp.error;
201
201
  } else if (resp.redirectTo) {
202
+ error.value = null;
203
+ user.authorize();
204
+ await coreStore.fetchMenuAndResource();
202
205
  router.push(resp.redirectTo);
203
206
  } else {
204
207
  error.value = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.13.0-next.21",
3
+ "version": "2.13.0-next.23",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",