diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index cc0c09c557..c19b090b59 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -492,10 +492,16 @@ export default { } } - let orderArr = this.getSortField(); - if (orderArr) { - this.condition.orders = orderArr; + + if(this.trashEnable){ + this.condition.orders = [{"name":"delete_time","type":"desc"}]; + }else { + let orderArr = this.getSortField(); + if (orderArr) { + this.condition.orders = orderArr; + } } + this.search(); this.getPrincipalOptions([]);