mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 20:36:43 +08:00
Merge branch 'dai-master'
This commit is contained in:
@@ -111,6 +111,11 @@ export default {
|
||||
}
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
//计算是http还是https
|
||||
let urlPre=window.location.protocol;
|
||||
this.uploadFileUrl=urlPre+this.uploadFileUrl.substring(this.uploadFileUrl.indexOf(':')+1);
|
||||
},
|
||||
computed: {
|
||||
// 是否显示提示
|
||||
showTip() {
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
<!-- <el-table-column prop="finishTime" label="结束时间"></el-table-column> -->
|
||||
<el-table-column prop="totalDuration" label="学习时长(分)">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.totalDuration == 0? '0': scope.row.totalDuration/60}}
|
||||
{{ scope.row.totalDuration == 0? '0': (scope.row.totalDuration/60).toFixed(2)}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="progress" label="进度">
|
||||
|
||||
Reference in New Issue
Block a user