diff --git a/lib/widgets/custom/multi_nav/custom_quick_entry.dart b/lib/widgets/custom/multi_nav/custom_quick_entry.dart index aeaa860..4b2749c 100644 --- a/lib/widgets/custom/multi_nav/custom_quick_entry.dart +++ b/lib/widgets/custom/multi_nav/custom_quick_entry.dart @@ -93,12 +93,13 @@ class __CustomQuickEntryContainerState extends State<_CustomQuickEntryContainer> //计算实际显示行数 if(totalRowSize*columSize>totalDataSize){ for(int index=1;index<=totalRowSize;index++){ - if(index*columSize>=totalRowSize){ + if(index*columSize>=totalDataSize){ totalRowSize=index; break; } } } + print("行数"+totalRowSize.toString()); // 图标的高度 double iconHeight = 40.0;