diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 50fae732..8caf7d36 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -10,15 +10,36 @@ + + +
取 消 确定 -
+ + + + + + + @@ -35,10 +56,28 @@
✨ 涉内容(如:5W1H分析法)
+ + + + + + @@ -54,6 +93,7 @@
+
@@ -75,19 +115,13 @@ -
- - - - - -
+ + + + +
@@ -104,6 +138,22 @@ 公开课 + + @@ -120,7 +170,21 @@ + + {{ tag }} @@ -148,6 +212,25 @@
+ + + + @@ -259,6 +342,24 @@
+ PC端可见 @@ -549,8 +650,7 @@ export default { this.loadUserGroup(); }, methods: { - - showGuidanceDialog() { + handleTagHelp(){ this.checkAndShowGuidance(); }, // 关键字的更改 @@ -859,6 +959,8 @@ export default { this.courseChooseShow = false; this.courseInfo = rs.result; this.curCourseId = this.courseInfo.id + console.log('保存课程成功',this.curCourseId) + console.log('isTip ',this.courseInfo.isTip) // if(this.courseInfo.isTip){ // // 检查是否为首次创建,显示引导 // this.checkAndShowGuidance(); @@ -887,15 +989,15 @@ export default { // 检查并显示引导 checkAndShowGuidance() { // 检查本地存储,判断是否为首次创建 - const hasShownGuidance = localStorage.getItem('course_creation_guidance_shown'); - if (!hasShownGuidance) { + // const hasShownGuidance = localStorage.getItem('course_creation_guidance_shown'); + // if (!hasShownGuidance) { this.showGuidance = true; this.currentStep = 1; this.isFirstCreate = true; // 标记引导已显示 localStorage.setItem('course_creation_guidance_shown', 'true'); // apiCourse.saveTip(); - } + // } }, // 初始化引导元素 initGuidanceElements() {