Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
veasion committed Sep 26, 2024
1 parent 06419e6 commit 81dfde9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,10 @@ <h1>🤖 AI智能生成PPT演示文稿</h1>
let a = document.createElement('a')
a.href = window.URL.createObjectURL(blob)
let name = 'download'
let subject = document.getElementById('subject')
if (subject && subject.value) {
name = subject.value
}
a.download = name + '.pptx'
a.click()
}
Expand Down

0 comments on commit 81dfde9

Please sign in to comment.