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("++++++++++++++++++++++ ${theMaxHeight.value}");
|
||||||
print("+++++ 位置:${initPosition.value}");
|
// print("+++++ 位置:${initPosition.value}");
|
||||||
|
|
||||||
return Listener(
|
return Listener(
|
||||||
behavior: HitTestBehavior.opaque,
|
behavior: HitTestBehavior.opaque,
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,8 @@ class HomeworkReviewLogic extends GetxController with RequestToolMixin {
|
||||||
void getData() async {
|
void getData() async {
|
||||||
var timerControl = Timer(const Duration(milliseconds: 300), () => ToastUtils.showLoading());
|
var timerControl = Timer(const Duration(milliseconds: 300), () => ToastUtils.showLoading());
|
||||||
try {
|
try {
|
||||||
DoPaperDetailsResult? data = await getClient().getDoPaperDetails(state.param.value);
|
DoPaperDetailsResult data = await getClient().getDoPaperDetails(state.param.value);
|
||||||
|
|
||||||
// var studentQuestions = data.studentQuestions;
|
// var studentQuestions = data.studentQuestions;
|
||||||
// // 第0个的下标数据不需要处理
|
// // 第0个的下标数据不需要处理
|
||||||
// for (var i = 0; i < studentQuestions.length; i++) {
|
// for (var i = 0; i < studentQuestions.length; i++) {
|
||||||
|
|
@ -169,6 +170,10 @@ class HomeworkReviewLogic extends GetxController with RequestToolMixin {
|
||||||
// }
|
// }
|
||||||
state.getDataError.value = false;
|
state.getDataError.value = false;
|
||||||
state.handwritings = [];
|
state.handwritings = [];
|
||||||
|
|
||||||
|
state.param.value.templateId ??= data.templateId;
|
||||||
|
state.param.value.studentId ??= data.studentId;
|
||||||
|
|
||||||
state.data.value = data;
|
state.data.value = data;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
print('获取数据报错了:$e');
|
print('获取数据报错了:$e');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue