@@ -43,6 +43,9 @@
watch(
() => props.courseInfoId,
(newVal) => {
+ if (!newVal) {
+ activeKey.value = '1'
+ }
localCourseInfoId.value = newVal || null
},
{ immediate: true }