From ccc5c86951cf68ee38bafea1ec9fa4c3c66f9639 Mon Sep 17 00:00:00 2001 From: 86182 Date: Thu, 13 Oct 2022 20:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/qa/Index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/portal/qa/Index.vue b/src/views/portal/qa/Index.vue index 83304ac0..1282aeb0 100644 --- a/src/views/portal/qa/Index.vue +++ b/src/views/portal/qa/Index.vue @@ -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)