mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:增加新建项目字典
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user