预约焦点错误
This commit is contained in:
@@ -190,20 +190,28 @@ class BookInfoPage extends GetView<BookInfoController> {
|
||||
Flexible(child: Obx(() {
|
||||
return InkWell(
|
||||
onTap: () {
|
||||
showOneSelectionDialog(context,
|
||||
arr: controller
|
||||
.model.time_period
|
||||
.map((d) =>
|
||||
"${d['timeStr']} (${d['unBookAmount']}/${d['amount']})")
|
||||
.toList()!,
|
||||
checkIndex: controller.model
|
||||
.select_time_index ??
|
||||
0, checkChange: (index) {
|
||||
controller.model
|
||||
.select_time_index = index;
|
||||
FocusScope.of(context)
|
||||
.requestFocus(FocusNode());
|
||||
Future.delayed(
|
||||
const Duration(
|
||||
milliseconds: 250), () {
|
||||
showOneSelectionDialog(context,
|
||||
arr: controller
|
||||
.model.time_period
|
||||
.map((d) =>
|
||||
"${d['timeStr']} (${d['unBookAmount']}/${d['amount']})")
|
||||
.toList()!,
|
||||
checkIndex: controller.model
|
||||
.select_time_index ??
|
||||
0,
|
||||
checkChange: (index) {
|
||||
controller.model
|
||||
.select_time_index =
|
||||
index;
|
||||
|
||||
controller.updateAll();
|
||||
}, title: '请选择时间');
|
||||
controller.updateAll();
|
||||
}, title: '请选择时间');
|
||||
});
|
||||
},
|
||||
child: Container(
|
||||
width: 140,
|
||||
|
||||
Reference in New Issue
Block a user