业务更新User所需(企业成员、聊天室群组成员)
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user