111
This commit is contained in:
parent
344fe4757d
commit
094f0385dc
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue