上传http与https的处理,优化Aajx的超时时间

This commit is contained in:
daihh
2023-03-28 16:10:15 +08:00
parent e34c9873bd
commit 7b72e42798
8 changed files with 40 additions and 145 deletions

View File

@@ -74,7 +74,6 @@
<script>
import studyItem from '@/components/Course/studyItem.vue';
import apiBoeCourse from '@/api/boe/course.js';
import apiManage from '@/api/manage/manage.js'
import {formatsec} from '@/utils/datetime.js'
export default {
@@ -94,32 +93,7 @@ export default {
keyword:'',
formatsec,
couresList:[],
total: 0,
options: [
{
label: '微课',
value: 1
},
{
label: '在线课',
value: 2,
children: [
{
label: '录播课',
value: 1
},
{
label: '直播课',
value: 1
}
]
},
{
label: '面授课',
value: 3
}
],
total: 0
};
},
mounted() {
@@ -167,18 +141,6 @@ export default {
}).catch(()=>{
this.loading=false;
})
// apiBoeCourse.cmtaskList(params).then(res=>{
// if(res.status==200){
// this.total = res.result.count
// this.couresList = res.result.list;
// }else{
// this.$message.error('查询数据失败:'+res.message);
// }
// this.loading=false;
// }).catch(()=>{
// this.loading=false;
// })
},
search(){
this.page=1;