fix: harden school imports and add optional feedback diagnostics
This commit is contained in:
@@ -150,11 +150,13 @@ class ExamsPage extends StatelessWidget {
|
||||
style: TextStyle(fontSize: 13, color: ink.withValues(alpha: 0.55)),
|
||||
),
|
||||
const SizedBox(height: 18),
|
||||
if (schedule.school == SupportedSchool.uestcUndergraduate)
|
||||
if (schedule.school == SupportedSchool.uestcUndergraduate) ...[
|
||||
Text(
|
||||
'查询类型:${UndergraduateExamQuery.fromSchedule(schedule)!.orderedTypes.map((t) => t.label).join('、')}',
|
||||
style: const TextStyle(fontSize: 12),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
],
|
||||
if (schedule.records.isEmpty)
|
||||
Text(
|
||||
schedule.school == SupportedSchool.uestcUndergraduate
|
||||
|
||||
Reference in New Issue
Block a user