Commit fde7575d authored by lixin's avatar lixin

课程管理-单集 上传新视频后,点击保存,重新打开发现老视频仍然存在.

parent 0471984b
...@@ -1111,7 +1111,12 @@ export default { ...@@ -1111,7 +1111,12 @@ export default {
this.teacherModalVisible = true; this.teacherModalVisible = true;
}, },
showVideoUploadModal() { showVideoUploadModal() {
this.videoUploadModalVisible = true; if(this.step1FormModel.type === 'SINGLE' && this.videoSeries.length>0){
this.$message.error("课程类型为单集,请先删除已有视频文件");
return;
} else {
this.videoUploadModalVisible = true;
}
}, },
closeVideoUploadModal() { closeVideoUploadModal() {
this.videoUploadModalVisible = false; this.videoUploadModalVisible = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment