mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 14:26:45 +08:00
fix -- bug
This commit is contained in:
@@ -528,7 +528,7 @@ const deleteChapter = () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
routerInfo.value.chapterList.splice(activeIndex.value, 1);
|
routerInfo.value.chapterList.splice(activeIndex.value, 1);
|
||||||
activeIndex.value = activeIndex.value-1;
|
activeIndex.value && (activeIndex.value = activeIndex.value-1);
|
||||||
deleteChapterModal.value = false;
|
deleteChapterModal.value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ const deleteStage = () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
projectInfo.value.stageList.splice(activeIndex.value, 1);
|
projectInfo.value.stageList.splice(activeIndex.value, 1);
|
||||||
activeIndex.value = activeIndex.value-1;
|
activeIndex.value && (activeIndex.value = activeIndex.value-1);
|
||||||
deleteStageModal.value = false;
|
deleteStageModal.value = false;
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user