Skip to content

Commit

Permalink
Adjust Management Interface: Model Price Default Value
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Jul 31, 2024
1 parent 2a7c38f commit 7d2a20c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/page/admin/models_add.dart
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ class _AdminModelCreatePageState extends State<AdminModelCreatePage> {
});

// 初始值设置
maxContextController.value = const TextEditingValue(text: '3500');
inputPriceController.value = const TextEditingValue(text: '1');
outputPriceController.value = const TextEditingValue(text: '1');
maxContextController.value = const TextEditingValue(text: '7500');
inputPriceController.value = const TextEditingValue(text: '0');
outputPriceController.value = const TextEditingValue(text: '0');
providers.add(AdminModelProvider());

super.initState();
Expand Down
6 changes: 3 additions & 3 deletions lib/page/admin/models_edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ class _AdminModelEditPageState extends State<AdminModelEditPage> {
});

// 初始值设置
maxContextController.value = const TextEditingValue(text: '3500');
inputPriceController.value = const TextEditingValue(text: '1');
outputPriceController.value = const TextEditingValue(text: '1');
maxContextController.value = const TextEditingValue(text: '7500');
inputPriceController.value = const TextEditingValue(text: '0');
outputPriceController.value = const TextEditingValue(text: '0');

super.initState();
}
Expand Down

0 comments on commit 7d2a20c

Please sign in to comment.