diff --git a/frontend/src/views/UserEdit.vue b/frontend/src/views/UserEdit.vue
index 41548b5..f19e186 100644
--- a/frontend/src/views/UserEdit.vue
+++ b/frontend/src/views/UserEdit.vue
@@ -358,6 +358,24 @@
/>
+
+
+
+
+
+ 关卡配置模式
+
+
+
+
+
+
+
@@ -409,28 +427,8 @@
/>
-
-
-
-
-
- 关卡配置模式
-
-
-
-
-
-
-
-
+
+
@@ -1395,6 +1393,22 @@ const handleGeneralConfig = async () => {
}
}
+const stageModeOptions = ref([
+ { label: '固定', value: 'Fixed' }
+])
+
+const loadStageModeOptions = async () => {
+ try {
+ const response = await Service.getPlanComboxApiInfoComboxPlanPost()
+ if (response && response.code === 200 && response.data) {
+ stageModeOptions.value = response.data
+ }
+ } catch (error) {
+ console.error('加载关卡配置模式选项失败:', error)
+ // 保持默认的固定选项
+ }
+}
+
// 选择基建配置文件
const selectInfrastructureConfig = async () => {
try {
@@ -1471,6 +1485,7 @@ onMounted(() => {
}
loadScriptInfo()
+ loadStageModeOptions()
})