mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
视频选择修改
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else style="text-align: center;">
|
<div v-else style="text-align: center;">
|
||||||
<div style="padding: 20px;">{{courseFile.fileName}} <span style="color: green;">上传成功</span></div>
|
<div style="padding: 20px;">{{courseFile.fileName}} <span style="color: green;">上传成功</span></div>
|
||||||
<div><el-button @click="chooseCourseFile(courseFile)" type="primary" size="mini">确定</el-button></div>
|
<div><el-button @click="chooseCourseFile(courseFile,true)" type="primary" size="mini">确定</el-button></div>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
@@ -255,8 +255,8 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
chooseCourseFile(ccfile){
|
chooseCourseFile(ccfile,val=false){
|
||||||
if(ccfile.resType == 10){
|
if(ccfile.resType == 10&&val){
|
||||||
apiCourseFile.saveUpload(this.successParams).then(rs=>{
|
apiCourseFile.saveUpload(this.successParams).then(rs=>{
|
||||||
if(rs.status==200){
|
if(rs.status==200){
|
||||||
this.$emit('choose', rs.result);
|
this.$emit('choose', rs.result);
|
||||||
|
|||||||
Reference in New Issue
Block a user