From 8910ffefdfbec4f16372c025e2d03630f11547e7 Mon Sep 17 00:00:00 2001 From: kola-web Date: Fri, 10 Jul 2026 12:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=81=A5=E5=BA=B7=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E9=A1=B5=E9=9D=A2=E7=9A=84=E9=97=AA=E7=83=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/qaFormDetail/index.ts | 6 ++++-- src/pages/qaFormDetail/index.wxml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/qaFormDetail/index.ts b/src/pages/qaFormDetail/index.ts index 394c5d7..4a4d9c7 100644 --- a/src/pages/qaFormDetail/index.ts +++ b/src/pages/qaFormDetail/index.ts @@ -33,11 +33,12 @@ Page({ data: { questions: [] as IQuestion[], hasData: false, + showPage: false, }, onLoad() {}, onShow() { - this.setData({ questions: [], hasData: false }) + this.setData({ questions: [], hasData: false, showPage: false }) app.waitLogin({}).then(() => { this.loadData() }) @@ -77,7 +78,7 @@ Page({ Images: [], Condition: condition, visible: !condition, - displayNo: 0, + displayNo: '', answerText: '', } }) @@ -175,6 +176,7 @@ Page({ } }) if (Object.keys(updates).length) { + updates.showPage = true this.setData(updates) } }, diff --git a/src/pages/qaFormDetail/index.wxml b/src/pages/qaFormDetail/index.wxml index 50aba2f..966fc77 100644 --- a/src/pages/qaFormDetail/index.wxml +++ b/src/pages/qaFormDetail/index.wxml @@ -1,9 +1,9 @@ - + - {{item.displayNo}}. {{item.QuestionContent}} + {{item.displayNo}}. {{item.QuestionContent}} {{item.answerText}}