fix: 修复库存导入 500 错误 + 开启全局文字选中

- findOrCreateProductFn 补充 PublicID(UUID),避免 unique 约束冲突导致事务 500
- main.dart 加 SelectionArea builder,全局开启 Web 文字复制选中能力

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-05-19 08:59:21 +08:00
parent 86738c903e
commit 91343a2349
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -54,6 +54,8 @@ class _JiuAppState extends ConsumerState<JiuApp> {
theme: AppTheme.light(),
routerConfig: router,
debugShowCheckedModeBanner: false,
builder: (context, child) =>
SelectionArea(child: child ?? const SizedBox()),
);
}
}