diff --git a/src/api/ajax.js b/src/api/ajax.js
index c189b101..60face68 100644
--- a/src/api/ajax.js
+++ b/src/api/ajax.js
@@ -30,7 +30,7 @@ const formRequest=axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
// baseURL: process.env.VUE_APP_CESOURCE_BASE_API,
//超时
- timeout: 10000,
+ timeout: 60000,
})
//发送json对象的拦截器
formRequest.interceptors.request.use(config => {
diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue
index 6cd3b36f..29ee8638 100644
--- a/src/components/FileUpload/index.vue
+++ b/src/components/FileUpload/index.vue
@@ -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() {
diff --git a/src/components/Study/manager.vue b/src/components/Study/manager.vue
index 71e99cf8..a3f05a9d 100644
--- a/src/components/Study/manager.vue
+++ b/src/components/Study/manager.vue
@@ -115,7 +115,7 @@
- {{ scope.row.totalDuration == 0? '0': scope.row.totalDuration/60}}
+ {{ scope.row.totalDuration == 0? '0': (scope.row.totalDuration/60).toFixed(2)}}
diff --git a/src/utils/xajax.js b/src/utils/xajax.js
index 8698061c..38dc3f7a 100644
--- a/src/utils/xajax.js
+++ b/src/utils/xajax.js
@@ -29,7 +29,7 @@ const jsonRequest=axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
//超时
- timeout: 10000,
+ timeout: 60000,
});
//发送json对象的拦截器
jsonRequest.interceptors.request.use(config => {
diff --git a/src/views/StudyIndex.vue b/src/views/StudyIndex.vue
index 7ad520f0..ae929839 100644
--- a/src/views/StudyIndex.vue
+++ b/src/views/StudyIndex.vue
@@ -1,87 +1,15 @@
- 1.学员个人中心首页,当前简单,后续会美化
- 2.
- 3.
+ 1.学员个人中心首页,根据需求无需此页,直接打开我的任务->我报名的
-
-
-
-
-
-
-
-