|
@@ -382,6 +382,10 @@ export default {
|
|
"updatePicture",
|
|
"updatePicture",
|
|
]),
|
|
]),
|
|
async initData() {
|
|
async initData() {
|
|
|
|
+ this.logger({
|
|
|
|
+ action: "答题页面",
|
|
|
|
+ detail: "before initData",
|
|
|
|
+ });
|
|
const [
|
|
const [
|
|
{ data: weixinAnswerEnabled },
|
|
{ data: weixinAnswerEnabled },
|
|
{ data: faceCheckEnabled },
|
|
{ data: faceCheckEnabled },
|
|
@@ -452,6 +456,11 @@ export default {
|
|
throw new Error("获取考试和试卷信息失败");
|
|
throw new Error("获取考试和试卷信息失败");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ this.logger({
|
|
|
|
+ action: "答题页面",
|
|
|
|
+ detail: `end${typeof globalThis === "object" ? " " : " "}initData`,
|
|
|
|
+ });
|
|
|
|
+
|
|
exam.WEIXIN_ANSWER_ENABLED = weixinAnswerEnabled;
|
|
exam.WEIXIN_ANSWER_ENABLED = weixinAnswerEnabled;
|
|
|
|
|
|
if (faceCheckEnabled) {
|
|
if (faceCheckEnabled) {
|