diff --git a/frontend/src/views/ExternalApi/Index.vue b/frontend/src/views/ExternalApi/Index.vue
index dbd175e..1ffeead 100644
--- a/frontend/src/views/ExternalApi/Index.vue
+++ b/frontend/src/views/ExternalApi/Index.vue
@@ -572,7 +572,8 @@ async function submitApiForm() {
warehouse_id: currentWarehouse.value!.id,
name: apiForm.name,
type: apiForm.type || API_TYPE_QIMEN,
- base_url: apiForm.base_url,
+ // 基础地址不在表单里展示,按接口类型预设写入(老配置保留库里已有值)
+ base_url: apiForm.base_url || API_TYPE_DEFAULT_BASE_URL,
app_key: apiForm.app_key,
app_secret: apiForm.app_secret,
status: apiForm.status,
@@ -1470,9 +1471,7 @@ onMounted(async () => {
/>
-
-
-
+