mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
Merge branch 'pingcode-1104' into dev0515
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<div v-else style="text-align: center;">
|
||||
<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>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
@@ -255,8 +255,8 @@
|
||||
})
|
||||
|
||||
},
|
||||
chooseCourseFile(ccfile){
|
||||
if(ccfile.resType == 10){
|
||||
chooseCourseFile(ccfile,val=false){
|
||||
if(ccfile.resType == 10&&val){
|
||||
apiCourseFile.saveUpload(this.successParams).then(rs=>{
|
||||
if(rs.status==200){
|
||||
this.$emit('choose', rs.result);
|
||||
|
||||
Reference in New Issue
Block a user