feat: 添加补丁版本基础版本选择功能

- 添加基础版本下拉选择器,仅在补丁更新类型时显示
- 添加应用和更新类型的 watch 监听,自动获取全量版本列表
- 提交时传递 base_version_id 参数
- 添加调试日志便于排查问题

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 22:48:22 +08:00
parent 026581ea60
commit ad58d2220e
4 changed files with 133 additions and 31 deletions
+2 -2
View File
@@ -1502,8 +1502,8 @@
"updateMethod": "Update Method",
"baseVersion": "Base Version",
"baseVersionPlaceholder": "Select base version (patch mode)",
"baseVersionDesc": "Select a base version to only upload changed files for incremental patch update",
"noBaseVersion": "None (Full version)",
"baseVersionDesc": "Select a full version as the base for this patch. The patch will be generated based on this version",
"noBaseVersion": "No full version available. Please create a full version first",
"status": "Status",
"autoUpdate": "Auto Update",
"autoUpdateDesc": "When enabled, the application will automatically download and install updates",
+2 -2
View File
@@ -1480,8 +1480,8 @@
"updateMethod": "更新方式",
"baseVersion": "基础版本",
"baseVersionPlaceholder": "选择基础版本(补丁模式)",
"baseVersionDesc": "选择基础版本后,只会上传变更的文件,用于增量补丁更新",
"noBaseVersion": "无(完整版本",
"baseVersionDesc": "选择一个全量版本作为此补丁包的基础,补丁将基于此版本生成",
"noBaseVersion": "没有可用的全量版本,请先创建全量版本",
"status": "状态",
"autoUpdate": "自动更新",
"autoUpdateDesc": "启用后应用将自动下载并安装更新",