From 0878a7768cbaa4a1dd68f75912dd58570e29438e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=85=E8=86=80?= Date: Fri, 23 Oct 2026 23:23:57 +0800 Subject: [PATCH] fix(console): lock the group editor while saving Prevent edits while a group save is in flight and make super-only installation settings readonly instead of silently ignoring edits. --- app/components/GroupEditor.vue | 414 +++++++++++++++++---------------- 1 file changed, 211 insertions(+), 203 deletions(-) diff --git a/app/components/GroupEditor.vue b/app/components/GroupEditor.vue index 598a72d..27dd32b 100644 --- a/app/components/GroupEditor.vue +++ b/app/components/GroupEditor.vue @@ -14,225 +14,233 @@
-
-

{{ t("groupEditor.sectionBasic") }}

-
-
- - -
-
- - -
- {{ isEdit ? t("groupEditor.renameHint") : t("groupEditor.idHint") }} + +
+
+

{{ t("groupEditor.sectionBasic") }}

+
+
+ + +
+
+ + +
+ {{ isEdit ? t("groupEditor.renameHint") : t("groupEditor.idHint") }} +
-
-
-
-

{{ t("groupEditor.sectionPreferences") }}

-
-
- - -
{{ t("groupEditor.langHint") }}
+
+
+

{{ t("groupEditor.sectionPreferences") }}

+
+
+ + +
{{ t("groupEditor.langHint") }}
+
+
+ + +
{{ t("groupEditor.forgeSources") }} + {{ t("groupEditor.forgeSourcesNote") }} - -
- -
- -
-
- +
+
+ +
+
+ +
+ + + +
+ +
-
- -
- - + + {{ t("groupEditor.forgeSourcesAdd") }} -
- {{ t("groupEditor.forgeSourcesHint") }}
+
+
+
+

{{ t("groupEditor.sectionAccess") }}

+
+ +

+ {{ t("groupEditor.membersGoPanel") }} +

+
+
+ + +
{{ t("groupEditor.ownersHint") }}
+
+
+ + +
+
+
+

{{ t("groupEditor.sectionProviders") }}

+
+ +
+ +
+
{{ t("groupEditor.providersHint") }}
- - {{ t("groupEditor.forgeSourcesAdd") }} - -
{{ t("groupEditor.forgeSourcesHint") }}
- -
-
-

{{ t("groupEditor.sectionAccess") }}

-
- -

- {{ t("groupEditor.membersGoPanel") }} -

-
-
- - -
{{ t("groupEditor.ownersHint") }}
-
-
- - -
-
-
-

{{ t("groupEditor.sectionProviders") }}

-
- -
- - -
-
{{ t("groupEditor.providersHint") }}
-
-
- -
- -
-
{{ t("groupEditor.installationIdHint") }}
-
-
-
-

{{ t("groupEditor.sectionLog") }}

-
- -
- -
-
- - +
+
+ + +
+
{{ t("groupEditor.logTargetHint") }}
-
{{ t("groupEditor.logTargetHint") }}
- -
-
{{ formError }}
+ +
{{ formError }}
+