From a51520394841b9d00e81e57986719f6b6f15991e Mon Sep 17 00:00:00 2001 From: sige Date: Thu, 25 Jul 2024 14:32:15 +0800 Subject: [PATCH] 1 --- src/components/ServiceConfiguration.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ServiceConfiguration.vue b/src/components/ServiceConfiguration.vue index 3cca6de..bcb40f7 100644 --- a/src/components/ServiceConfiguration.vue +++ b/src/components/ServiceConfiguration.vue @@ -130,7 +130,7 @@ async function actionServiceParamReload() { } group.items.push(item); } - params.value.sort((a,b) => b.items.length - a.items.length); + params.value.sort((a,b) => b.items.length - a.items.length || b.name.localeCompare(a.name)); } catch ( e ) {/** nothing to do here */} }