fix: stabilize model modal and prepare v2.0.0-beta.16 - #29
Merged
Conversation
Alpaca233114514
marked this pull request as ready for review
August 1, 2026 16:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
PapyrusOR更新为LiYuanStudio2.0.0-beta.16原因
Arco Modal、Form 实例与异步供应商数据共同复用时,
initialValue不会随每次打开更新,导致表单显示值与实际提交值可能不一致。改为在弹窗打开时从当前 props 构造完整表单快照,并通过Form.useWatch驱动 API Key 选项。同时,发布元数据仍保留旧作者名,且
root-package.json和其他版本文件未完整同步,导致 Windows 应用列表及仓库版本信息显示旧值。用户与开发者影响
模型新增和编辑流程会保持供应商、协议、密钥与能力开关一致;无效表单不会发送网络请求。下一次构建的 Windows 安装包将显示发布者
LiYuanStudio,所有发布相关清单和锁文件统一为 BA16。本次不修改后端数据结构。已安装旧版本需要使用新安装包重新安装后,系统应用列表才会刷新发布者和版本信息。
验证
npm --prefix frontend run typechecknpm --prefix backend test -- --runInBand tests/integration/api.test.ts -t "prerelease-aware"node --test scripts/__tests__/verify-packaged-app.test.js(5/5 通过)2.0.0-beta.162.0.0-beta.16companyName=LiYuanStudionpm --prefix frontend run buildnpx playwright test model-management.spec.tsgit diff --check