地址接口的视线
This commit is contained in:
@@ -381,7 +381,7 @@ Future<void> showWeightPickerDialog(
|
||||
context,
|
||||
weights,
|
||||
tempIndex, // ✅ 传入 RxInt
|
||||
unit: "cm",
|
||||
unit: "kg",
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -408,7 +408,6 @@ Future<void> showHeightPickerDialog(
|
||||
int selectedIndex = heights.indexOf(initialHeight);
|
||||
// int tempIndex = selectedIndex;
|
||||
final RxInt tempIndex = RxInt(selectedIndex); // ✅ 改为 RxInt
|
||||
|
||||
ThemeController themeController = Get.find();
|
||||
|
||||
await showDialog(
|
||||
|
||||
Reference in New Issue
Block a user