feat:增加根据用户权限判断当用户进入管理员端展示的界面。

This commit is contained in:
wyx
2023-03-15 15:07:36 +08:00
parent fa431338c8
commit 761b8a9f40
2 changed files with 25 additions and 8 deletions

View File

@@ -12,14 +12,7 @@ export default createStore({
state: {
openpages: localStorage.getItem("openpages")
? JSON.parse(localStorage.getItem("openpages"))
: [
{
pagename: "学习路径图",
href: "/learningpath",
active: true,
},
],
: [],
assessmentName: "",
routerId: null,
projectTemplateId: null,