Browse Source

fix: 修改刷新页面权限丢失

main
xuziqiang 3 months ago
parent
commit
e9ca9cfab9
  1. 8
      hx-ai-intelligent/src/config/app.config.ts

8
hx-ai-intelligent/src/config/app.config.ts

@ -27,10 +27,10 @@ export const appConfig = {
themeConfig: { themeConfig: {
bgImageUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/login/background.png`, bgImageUrl: `${import.meta.env.VITE_PUBLIC_PATH}/asset/image/login/background.png`,
}, },
userCustomRouterGuard: (to, from, next, whiteNameList, authorizationStore, appConfig) => { // userCustomRouterGuard: (to, from, next, whiteNameList, authorizationStore, appConfig) => {
console.log({ to, from, next, whiteNameList, authorizationStore, appConfig }, 'routeConfig'); // console.log({ to, from, next, whiteNameList, authorizationStore, appConfig }, 'routeConfig');
next(); // next();
}, // },
// customUpdatePwd: () => import('/@/view/updatePassword/updatePassword.vue'), // customUpdatePwd: () => import('/@/view/updatePassword/updatePassword.vue'),

Loading…
Cancel
Save