Commit e6126da99594da242f16efa7e5a2b2f2e3a383a0
1 parent
845cad7c
wip: 代码提交
Showing
1 changed file
with
0 additions
and
2 deletions
src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue
... | ... | @@ -299,7 +299,6 @@ export default { |
299 | 299 | if (this.groups.length == 0) { |
300 | 300 | this.init(); |
301 | 301 | localStorage.setItem("testData", JSON.stringify(this.list)); |
302 | - this.uniqueById(this.groups); | |
303 | 302 | return; |
304 | 303 | } |
305 | 304 | // 如果一致 就直接赋值 |
... | ... | @@ -389,7 +388,6 @@ export default { |
389 | 388 | const doc = iframeRef.contentDocument || iframeRef.contentWindow.document; |
390 | 389 | const body = iframeRef.contentWindow.document.body; |
391 | 390 | const height = body.scrollHeight; // 获取内容的高度 |
392 | - console.log(height, "body高度"); | |
393 | 391 | iframeRef.style.height = `${height}px`; // 设置 iframe 的高度 |
394 | 392 | // 获取第一个P标签 |
395 | 393 | const firstP = doc.getElementsByTagName("p")[0]; | ... | ... |