From f0c2c003738addcc452c4e7a001481f245056dec Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 28 六月 2024 12:00:42 +0800 Subject: [PATCH] 题库优化 --- src/views/examination/components/list.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/examination/components/list.vue b/src/views/examination/components/list.vue index 216bf7a..28c33b8 100644 --- a/src/views/examination/components/list.vue +++ b/src/views/examination/components/list.vue @@ -339,7 +339,7 @@ // if (props.collectList) presentId.value = props.collectList[0] }) // 鏁扮粍杞负瀛楃涓叉柟娉� -const arrayToString = (data) => { +const arrayToString = (data:any) => { // 妫�鏌ユ槸鍚︿负鏁扮粍 if (Array.isArray(data)) { // 浣跨敤 join 鏂规硶灏嗘暟缁勮浆鎹负瀛楃涓诧紝榛樿浣跨敤閫楀彿鍒嗛殧 @@ -349,7 +349,7 @@ return data.replace(/<[^>]*>/g, '') } } -const isHaveAnswer = (data) => { +const isHaveAnswer = (data:any) => { if (typeof data == 'string') { data = data .replace(/<[^>]*>/g, '') @@ -370,7 +370,7 @@ } } // 鏀惰棌鎸夐挳 -const handleCollect = (num,number) => { +const handleCollect = (num:number,number:number) => { emits('setCollect',num,number) } // 鍗曢�夋杈撳叆 -- Gitblit v1.9.1