mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2026-01-20 16:53:37 +08:00
feat: 模拟后台返回不同角色路由生成动态路由
This commit is contained in:
@@ -130,7 +130,7 @@ export default defineComponent({
|
||||
|
||||
const noSecret = (): void => {
|
||||
storageSession.setItem("info", {
|
||||
username: "测试用户",
|
||||
username: "admin",
|
||||
accessToken: "eyJhbGciOiJIUzUxMiJ9.test"
|
||||
});
|
||||
router.push("/");
|
||||
|
||||
Reference in New Issue
Block a user