fix: auto repair bugs #68, #10, #6, #69 #4

Merged
zyc merged 2 commits from fix/auto-20260318-155918 into main 2026-03-18 16:59:55 +08:00
Owner

自动修复报告

修复的 Bug:

  • #68: FlutterError - Bad state: Using "ref" when a widget is about to or has been unmounted is unsafe
  • #10: FlutterBluePlusException - FlutterBluePlusException | scan | web-code: 0 | SecurityError: Failed to execute
  • #6: UnmountedRefException - Cannot use the Ref of badgeAiControllerProvider after it has been disposed. This
  • #69: AssertionErrorImpl - Assertion failed: file:///Users/maidong/flutter_sdk/flutter/packages/flutter/lib

修改文件:

  • airhub_app/lib/core/router/app_router.dart
  • airhub_app/lib/core/router/app_router.g.dart
## 自动修复报告 修复的 Bug: - #68: FlutterError - Bad state: Using "ref" when a widget is about to or has been unmounted is unsafe - #10: FlutterBluePlusException - FlutterBluePlusException | scan | web-code: 0 | SecurityError: Failed to execute - #6: UnmountedRefException - Cannot use the Ref of badgeAiControllerProvider after it has been disposed. This - #69: AssertionErrorImpl - Assertion failed: file:///Users/maidong/flutter_sdk/flutter/packages/flutter/lib 修改文件: - `airhub_app/lib/core/router/app_router.dart` - `airhub_app/lib/core/router/app_router.g.dart`
zyc added 1 commit 2026-03-18 16:10:50 +08:00
maidong added 1 commit 2026-03-18 16:58:25 +08:00
- 图生图改用 MultipartFile.fromBytes 兼容 Web 平台
- AI 生成结果改为弹窗展示(换一张/使用此图)
- 图生图模式 prompt 改为可选,始终发送 prompt 字段
- 传输页移除多余按钮,圆形预览改为紧凑展示
- 新增上传标签页支持选择 AI 生成历史图片

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
zyc merged commit 51164ae21a into main 2026-03-18 16:59:55 +08:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zyc/rtc_prd#4
No description provided.