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