Skip to content

Commit ff87cf1

Browse files
committed
防止onlaod函数重复执行
1 parent 165b418 commit ff87cf1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/editor/handleInstanceView.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ class IframeHandler {
5757
iDoc.close()
5858
return new Promise((resolve) => {
5959
this.iframe.onload = () => {
60-
// 执行用户在写的onload回调函数
61-
iWin.onload?.()
6260
if (isMD) {
6361
this.renderMathFormula()
6462
this.renderFlowchart()

0 commit comments

Comments
 (0)