feat: 模拟后台返回不同角色路由生成动态路由

This commit is contained in:
xiaoxian521
2021-05-27 23:36:46 +08:00
parent b554356ba1
commit 07aff1fcfc
22 changed files with 297 additions and 92 deletions

View File

@@ -130,7 +130,7 @@ export default defineComponent({
const noSecret = (): void => {
storageSession.setItem("info", {
username: "测试用户",
username: "admin",
accessToken: "eyJhbGciOiJIUzUxMiJ9.test"
});
router.push("/");