|
|
@@ -1966,7 +1966,6 @@ const selectCourseSLook = async (type = 2) => {
|
|
|
await api.updateCourseFollowC(slideIndex.value, props.courseid as string)
|
|
|
sendMessage({slideIndex: slideIndex.value, courseid: props.courseid, type: 'slideIndex'})
|
|
|
console.log('设置当前幻灯片为跟随目标:', slideIndex.value)
|
|
|
- checkParentMode()
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
@@ -1978,6 +1977,8 @@ const selectCourseSLook = async (type = 2) => {
|
|
|
if (props.type == '2') {
|
|
|
message.success(isFollowModeActive.value ? '跟随模式已开启' : '自由模式已开启')
|
|
|
}
|
|
|
+
|
|
|
+ checkParentMode()
|
|
|
}
|
|
|
|
|
|
// 切换跟随模式
|