|
@@ -251,7 +251,7 @@
|
|
|
</div>
|
|
|
<div
|
|
|
class="vedioList"
|
|
|
- :class="vedio[taskCount].length == 0 ? 'listNoVedio' : ''"
|
|
|
+ :class="vedio[taskCount].length == 0 && file[taskCount].length == 0 ? 'listNoVedio' : ''"
|
|
|
v-if="
|
|
|
(vedio.length &&
|
|
|
vedio[taskCount] &&
|
|
@@ -2710,7 +2710,7 @@ export default {
|
|
|
_this.selectSWorks();
|
|
|
_this.selectStudent();
|
|
|
}, 5000);
|
|
|
- this.$nextTick(function () {
|
|
|
+ _this.$nextTick(function () {
|
|
|
setTimeout(() => {
|
|
|
var a =
|
|
|
document.getElementsByClassName("box_course")[0].offsetHeight;
|
|
@@ -2720,8 +2720,8 @@ export default {
|
|
|
a - 40 + "px";
|
|
|
}, 500);
|
|
|
});
|
|
|
- if (this.vedio[this.taskCount].length > 0) {
|
|
|
- this.vedioTime = document.getElementsByClassName(
|
|
|
+ if (_this.vedio[_this.taskCount].length > 0) {
|
|
|
+ _this.vedioTime = document.getElementsByClassName(
|
|
|
"vjs-duration-display"
|
|
|
)[0].textContent;
|
|
|
}
|