ソースを参照

fix refresh bug

Arsekl 3 年 前
コミット
59a4b6b508
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/extensions/init.tsx

+ 2 - 2
src/extensions/init.tsx

@@ -156,7 +156,7 @@ function initExplorer() {
             groups?.forEach((group) => {
                 molecule.editor.closeAll(group.id)
             })
-            getQuestion(store.getState().loadQuestion.examId as unknown as string, store.getState().loadQuestion.codeList![0].questionId as unknown as string)
+            getQuestion(store.getState().loadQuestion.examId as unknown as string, "");
         }
     })
     molecule.explorer.onCollapseAllFolders(() => {
@@ -245,4 +245,4 @@ function initLogin() {
                 }
             ]
     );
-}
+}