|
@@ -12017,7 +12017,7 @@ export default {
|
|
|
}, 500);
|
|
|
},
|
|
|
updateToolDetail(i, type) {
|
|
|
- if (!this.isUpdateToolDetail1 && type == 2) {
|
|
|
+ if (!this.isUpdateToolDetail1 && type == 2 && (this.courseDetail.userid == this.userid || (this.courseDetail.course_teacher && this.courseDetail.course_teacher.indexOf(this.userid) != -1))) {
|
|
|
this.toolDetailIndex = i
|
|
|
this.isUpdateToolDetail1 = true;
|
|
|
setTimeout(() => {
|