Skip to content

Commit

Permalink
fix: 展开历史面板前主动加载一次
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiuChen committed Jan 5, 2024
1 parent 59a06da commit e9406bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/Runner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ function handleEditorAction(action: EditorAction) {
editorRef.value?.editor?.trigger('', 'editor.action.quickCommand', null)
break
case 'listHistory':
history.loadHistorys()
const list = history.historys.map((item) => ({
type: 'item',
id: item.timeStamp,
Expand Down

0 comments on commit e9406bb

Please # to comment.