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 65 additions and 68 deletions
Showing only changes of commit 41b29f19f3 - Show all commits

View File

@ -586,9 +586,7 @@ class QuestionImageView extends HookWidget with EventBusMixin<BottomOperationBar
if (imageUrl == null) return const SizedBox();
return GestureDetector(
onPanDown: (_) => sateData.panQuestView = true,
child: SingleChildScrollView(
return SingleChildScrollView(
controller: scrollControllerQuestion,
physics: !annotationState.pen.value ? const BouncingScrollPhysics() : const NeverScrollableScrollPhysics(),
padding: EdgeInsets.zero,
@ -603,6 +601,7 @@ class QuestionImageView extends HookWidget with EventBusMixin<BottomOperationBar
//
activePointers++;
sateData.panQuestView = true;
},
onPointerUp: (PointerUpEvent details) {
//
@ -659,7 +658,6 @@ class QuestionImageView extends HookWidget with EventBusMixin<BottomOperationBar
),
),
),
),
);
}),
);

View File

@ -107,11 +107,10 @@ class HomeworkReviewLogic extends GetxController with RequestToolMixin {
state.studentQuestions.value = data.studentQuestions;
} catch (e) {
print('获取数据报错了:$e');
ToastUtils.showError('未获取到试题数据,请重试');
// ToastUtils.showError('未获取到试题数据,请重试');
state.getDataError.value = true;
} finally {
if (timerControl.isActive) timerControl.cancel();
ToastUtils.dismiss();
}
}