mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-08 18:36:47 +08:00
解决移动端的问题
This commit is contained in:
@@ -477,16 +477,16 @@
|
||||
this.qa.params.keyword=this.keyword;
|
||||
if(this.keyword!=''){
|
||||
if(this.conType==1){
|
||||
if(this.course.loadStatus=='more'){
|
||||
if(this.course.loadStatus=='more' && this.course.list.length==0){
|
||||
this.loadCourseData();
|
||||
}
|
||||
|
||||
}else if(this.conType==2){
|
||||
if(this.article.loadStatus=='more'){
|
||||
if(this.article.loadStatus=='more' && this.article.list.length==0){
|
||||
this.loadArticleData();
|
||||
}
|
||||
}else if(this.conType==4){
|
||||
if(this.qa.loadStatus=='more'){
|
||||
if(this.qa.loadStatus=='more' && this.qa.list.length==0){
|
||||
this.loadQaData();
|
||||
}
|
||||
}
|
||||
@@ -522,23 +522,29 @@
|
||||
resetFilters(){
|
||||
this.stepIndex=2;
|
||||
this.filterTags=[];
|
||||
|
||||
this.course.filters=[];
|
||||
this.course.list=[];
|
||||
this.course.params.pageIndex=1;
|
||||
this.course.loadStatus='more';
|
||||
|
||||
this.article.filters=[];
|
||||
this.article.list=[];
|
||||
this.article.params.pageIndex=1;
|
||||
this.article.loadStatus='more';
|
||||
|
||||
this.qa.filters=[];
|
||||
this.qa.list=[];
|
||||
this.qa.params.pageIndex=1;
|
||||
this.qa.loadStatus='more';
|
||||
|
||||
if(this.conType==1){
|
||||
this.course.filters=[];
|
||||
this.course.list=[];
|
||||
this.course.params.pageIndex=1;
|
||||
this.course.loadStatus='more';
|
||||
this.loadCourseData();
|
||||
}else if(this.conType==2){
|
||||
this.article.filters=[];
|
||||
this.article.list=[];
|
||||
this.article.params.pageIndex=1;
|
||||
this.article.loadStatus='more';
|
||||
|
||||
this.loadArticleData();
|
||||
}else if(this.conType==4){
|
||||
this.qa.filters=[];
|
||||
this.qa.list=[];
|
||||
this.qa.params.pageIndex=1;
|
||||
this.qa.loadStatus='more';
|
||||
|
||||
this.loadQaData();
|
||||
}
|
||||
if(this.keyword!=''){
|
||||
|
||||
Reference in New Issue
Block a user