From 02ab5b03eba1f1f628ff6b5e9e6e19539928a168 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期五, 12 七月 2024 09:24:59 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/testbookLayout --- src/books/childHealth/view/content/index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/books/childHealth/view/content/index.vue b/src/books/childHealth/view/content/index.vue index 213ed4f..fb4a8ec 100644 --- a/src/books/childHealth/view/content/index.vue +++ b/src/books/childHealth/view/content/index.vue @@ -229,7 +229,7 @@ // 娴嬭瘯椤甸潰璺宠浆 // setTimeout(() => { - // this.gotoPage(8,233); + // this.gotoPage(11,282); // setTimeout(() => { // this.renderSign("Highlight", { // id: "2ACA9359", @@ -614,11 +614,12 @@ if (testData && testData[catalog]) { if (testData[catalog][page]) { if (Array.isArray(testData[catalog][page])) { - this.questionDataMap[page] = await getQuestionList( + const datas = await getQuestionList( page, testData[catalog][page], this.config.activeBook ); + this.$set(this.questionDataMap,page,datas) } else { const obj = {}; for (let key in testData[catalog][page]) { @@ -628,7 +629,8 @@ this.config.activeBook ); } - this.questionDataMap[page] = obj; + this.$set(this.questionDataMap,page,obj) + // this.questionDataMap[page] = obj; } } } -- Gitblit v1.9.1