diff --git a/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue b/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue index 61fd68c..3f41644 100644 --- a/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue +++ b/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue @@ -299,7 +299,6 @@ export default { if (this.groups.length == 0) { this.init(); localStorage.setItem("testData", JSON.stringify(this.list)); - this.uniqueById(this.groups); return; } // 如果一致 就直接赋值 @@ -389,7 +388,6 @@ export default { const doc = iframeRef.contentDocument || iframeRef.contentWindow.document; const body = iframeRef.contentWindow.document.body; const height = body.scrollHeight; // 获取内容的高度 - console.log(height, "body高度"); iframeRef.style.height = `${height}px`; // 设置 iframe 的高度 // 获取第一个P标签 const firstP = doc.getElementsByTagName("p")[0];