This commit is contained in:
86182
2022-10-13 20:02:49 +08:00
parent 0d8e8dea08
commit ccc5c86951

View File

@@ -310,7 +310,7 @@ export default {
if(id=="answers"){ if(id=="answers"){
this.styleControl = 2 this.styleControl = 2
} }
this.queryConditions.orderField = ''; this.queryConditions.orderField = id;
this.queryConditions.pageIndex = 1 this.queryConditions.pageIndex = 1
this.qaList = []; this.qaList = [];
this.getQaData(true); this.getQaData(true);
@@ -359,7 +359,7 @@ export default {
this.qaList=[]; this.qaList=[];
this.queryConditions.pageIndex=1; this.queryConditions.pageIndex=1;
} }
this.queryConditions.orderField=this.styleControl==1? 'id':'answers'; this.queryConditions.orderField=this.styleControl==1? 'sysCreateTime':'answers';
this.moreState = 2; this.moreState = 2;
await apiQa await apiQa
.potallist(this.queryConditions) .potallist(this.queryConditions)