Skip to content

Commit

Permalink
active index to 0 after delete tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
as6325400 committed Jul 6, 2024
1 parent 320edf1 commit 962ada6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ const store: Module<State, any> = {
"TotalCourseData",
JSON.stringify(state.TotalCourseData),
);
state.activeIndex = 0;
},
renameTabs(state: State, data: any) {
let id = data.id;
Expand Down

0 comments on commit 962ada6

Please sign in to comment.