Skip to content

Commit

Permalink
fix(app): sw update toast pos
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Sep 21, 2024
1 parent 018df55 commit 24b62e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/pwa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ document.addEventListener('astro:page-load', () => {
},
onNeedRefresh() {
toast(`发现应用更新`, {
position: 'top-right',
important: true,
closeButton: true,
duration: 60 * 60 * 1000,
Expand Down

0 comments on commit 24b62e0

Please sign in to comment.