mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 03:16:42 +08:00
排序
This commit is contained in:
@@ -310,7 +310,7 @@ export default {
|
||||
if(id=="answers"){
|
||||
this.styleControl = 2
|
||||
}
|
||||
this.queryConditions.orderField = '';
|
||||
this.queryConditions.orderField = id;
|
||||
this.queryConditions.pageIndex = 1
|
||||
this.qaList = [];
|
||||
this.getQaData(true);
|
||||
@@ -359,7 +359,7 @@ export default {
|
||||
this.qaList=[];
|
||||
this.queryConditions.pageIndex=1;
|
||||
}
|
||||
this.queryConditions.orderField=this.styleControl==1? 'id':'answers';
|
||||
this.queryConditions.orderField=this.styleControl==1? 'sysCreateTime':'answers';
|
||||
this.moreState = 2;
|
||||
await apiQa
|
||||
.potallist(this.queryConditions)
|
||||
|
||||
Reference in New Issue
Block a user