mcy_new #1

Merged
wangyang merged 179 commits from mcy_new into master 2025-08-28 10:10:45 +08:00
2 changed files with 8 additions and 3 deletions
Showing only changes of commit 094f0385dc - Show all commits

View File

@ -405,8 +405,8 @@ class QuestionImageView extends HookWidget with EventBusMixin<BottomOperationBar
};
}, []);
print("++++++++++++++++++++++ ${theMaxHeight.value}");
print("+++++ 位置:${initPosition.value}");
// print("++++++++++++++++++++++ ${theMaxHeight.value}");
// print("+++++ 位置:${initPosition.value}");
return Listener(
behavior: HitTestBehavior.opaque,

View File

@ -159,7 +159,8 @@ class HomeworkReviewLogic extends GetxController with RequestToolMixin {
void getData() async {
var timerControl = Timer(const Duration(milliseconds: 300), () => ToastUtils.showLoading());
try {
DoPaperDetailsResult? data = await getClient().getDoPaperDetails(state.param.value);
DoPaperDetailsResult data = await getClient().getDoPaperDetails(state.param.value);
// var studentQuestions = data.studentQuestions;
// // 0
// for (var i = 0; i < studentQuestions.length; i++) {
@ -169,6 +170,10 @@ class HomeworkReviewLogic extends GetxController with RequestToolMixin {
// }
state.getDataError.value = false;
state.handwritings = [];
state.param.value.templateId ??= data.templateId;
state.param.value.studentId ??= data.studentId;
state.data.value = data;
} catch (e) {
print('获取数据报错了:$e');