From 5727abcafafc3987e3c19ac468f642bf2a05a312 Mon Sep 17 00:00:00 2001 From: wyx Date: Wed, 11 Jan 2023 22:34:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E8=AF=84=E5=88=86?= =?UTF-8?q?=E9=A2=98=E7=9B=AE=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/survey/SurveyDetail.vue | 58 ++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/src/views/survey/SurveyDetail.vue b/src/views/survey/SurveyDetail.vue index bcf60e7..0b6edf5 100644 --- a/src/views/survey/SurveyDetail.vue +++ b/src/views/survey/SurveyDetail.vue @@ -51,27 +51,32 @@
完全没用
-
+ +
{{ item + 1 }}
@@ -376,6 +381,17 @@ setTimeout(() => { clearInterval(timers); }, 30000); +// 生成数组 +function orderArr(a,b) { + let arrs = [] + for(let i=0;i<10;i++){ + if((i+1)>=a && (i+1)<=b){ + arrs.push(i) + } + } + return arrs; +} + const centerDialogVisible = ref(false); const open = () => { centerDialogVisible.value = true