|
@@ -190,7 +190,7 @@
|
|
|
</div> -->
|
|
|
</div>
|
|
|
<div
|
|
|
- v-if="tType != 2"
|
|
|
+ v-if="tType != 2 && (classList.length || courseDetail.userid == userid)"
|
|
|
class="goToStudy"
|
|
|
@click="goToStudyOrDia(classList)"
|
|
|
>
|
|
@@ -1321,9 +1321,9 @@ export default {
|
|
|
type:"error",
|
|
|
}).then(() => {
|
|
|
if(this.courseDetail.state == 1 || this.courseDetail.state == 2){
|
|
|
- window.parent.postMessage({ tools: "openCourseUpdate",cid:this.classId }, "*");
|
|
|
+ window.parent.postMessage({ tools: "openCourseUpdate",cid:this.id }, "*");
|
|
|
}else if(this.courseDetail.state == 3){
|
|
|
- window.parent.postMessage({ tools: "openCourseEUpdate",cid:this.classId }, "*");
|
|
|
+ window.parent.postMessage({ tools: "openCourseEUpdate",cid:this.id }, "*");
|
|
|
}
|
|
|
})
|
|
|
// this.addUserRate(0);
|