This commit is contained in:
wyf
2025-08-12 17:22:11 +08:00
parent b528ab950d
commit fcd3a281cf
20 changed files with 297 additions and 233 deletions

View File

@@ -89,13 +89,13 @@ class _SleepCalendarWidgetState extends State<SleepCalendarWidget> {
onSuccess: (res) {
showLabel.value = [
...res.data,
{"level": 5, "name": "无报告", "color": "#9E9E9E"},
{"level": 5, "name": "无报告".tr, "color": "#9E9E9E"},
// ✅ 注意拼写是 scoreList
];
},
onFailure: (res) {
showLabel.value = [
{"level": 5, "name": "无报告", "color": "#9E9E9E"},
{"level": 5, "name": "无报告".tr, "color": "#9E9E9E"},
];
},
);