From 73889c73d49270ad9f73bf30516855d0bc7de5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Sat, 22 Mar 2025 15:00:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(Design):=20=E9=87=8D=E6=9E=84=E9=97=AE?= =?UTF-8?q?=E5=8D=B7=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Choice、Completion、FileUpload、MatrixQuestion、NPS、Rate、SignQuestion 和 TextWithImages 组件中添加 isPreview 属性 - 根据 isPreview 属性决定是否显示题号或题目标题 - 更新 PreviewCompletion、PreviewFileUpload 和 PreviewSign 组件,设置 isPreview 为 true --- src/views/Design/components/Questions/Choice.vue | 6 +++++- src/views/Design/components/Questions/Completion.vue | 6 +++++- src/views/Design/components/Questions/FileUpload.vue | 8 +++++--- src/views/Design/components/Questions/MatrixQuestion.vue | 3 +-- src/views/Design/components/Questions/NPS.vue | 6 +++++- src/views/Design/components/Questions/Rate.vue | 2 +- src/views/Design/components/Questions/SignQuestion.vue | 3 ++- src/views/Design/components/Questions/TextWithImages.vue | 6 +++++- .../Preview/components/questions/PreviewCompletion.vue | 2 ++ .../Preview/components/questions/PreviewFileUpload.vue | 2 ++ .../views/Preview/components/questions/PreviewSign.vue | 2 ++ 11 files changed, 35 insertions(+), 11 deletions(-) diff --git a/src/views/Design/components/Questions/Choice.vue b/src/views/Design/components/Questions/Choice.vue index 7327367..238796c 100644 --- a/src/views/Design/components/Questions/Choice.vue +++ b/src/views/Design/components/Questions/Choice.vue @@ -7,7 +7,7 @@ class="contenteditable-question-title base-select" >