feat:增加新建项目字典

This commit is contained in:
lixg
2022-11-21 17:48:26 +08:00
parent 47d6871378
commit f18909673d
27 changed files with 280 additions and 253 deletions

View File

@@ -58,10 +58,10 @@ export default {
state.openList.map((item, key) => {
if (item.href === value.href) {
if (state.openList.length === 1) {
if (state.openList[0].href !== "/manage/learningpath") {
if (state.openList[0].href !== "/learningpath") {
state.openList.splice(key, 1);
}
$router.push({ path: "/manage/learningpath" });
$router.push({ path: "/learningpath" });
} else {
if (value.active) {
if (key === state.openList.length - 1) {