2026.7.24 截取字段数修改

master
xufei 2026-07-24 10:55:25 +08:00
parent f097eaddf1
commit e4f3111dd8
2 changed files with 3 additions and 3 deletions

View File

@ -802,8 +802,8 @@ class _KeyTasksConfirmDetailPageState extends State<KeyTasksConfirmDetailPage> {
return '协议${index + 1}';
}
final fileName = item['fileName'] ?? '协议${index + 1}';
if (fileName.length > 21) {
return '${fileName.substring(0, 21)}...';
if (fileName.length > 10) {
return '${fileName.substring(0, 10)}...';
}
return fileName;
}

View File

@ -110,7 +110,7 @@ class _DoorcarTabPageState extends State<KeyTasksTabPage> {
//
final gateSection = defaultSections[0];
// //
//
gateSection.items[0].badge = int.parse(data['zdzysqCount']??0);
//
gateSection.items[1].badge = int.parse(data['bjcrqrCount']??0);