业务更新User所需(企业成员、聊天室群组成员)

This commit is contained in:
Happi (哈比)
2026-03-09 19:15:51 +08:00
parent c278d1329e
commit 8f77a14818
22 changed files with 1030 additions and 238 deletions

View File

@@ -62,11 +62,25 @@ class _ChatDbTestPageState extends ConsumerState<ChatDbTestPage> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
AppButton.inverse(
label: testStarted ? '结束' : '开始',
onPressed: () => testStarted
? vm.stopDBTest(context)
: vm.startDBTest(context),
Column(
children: [
AppButton.inverse(
label: "插入1万条数据",
onPressed: () => testStarted
? vm.stopDBTest(context)
: vm.startDBTest(context),
),
const SizedBox(height: 4),
AppButton.inverse(
label: '编辑前10条名称',
onPressed: () => vm.updateFirst10(context),
),
const SizedBox(height: 4),
AppButton.inverse(
label: '删除前10条名称',
onPressed: () => vm.deleteFirst10(context),
),
],
),
const SizedBox(width: 8),
Expanded(child: Text(currentState, textAlign: TextAlign.end)),