Skip to content

Commit

Permalink
chore(playground): reset version when opening local playground from r…
Browse files Browse the repository at this point in the history
…eproduction
  • Loading branch information
yyx990803 committed Nov 15, 2024
1 parent d637bd6 commit 10ab8c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages-private/sfc-playground/src/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function resetVueVersion() {
async function copyLink(e: MouseEvent) {
if (e.metaKey) {
resetVueVersion()
// hidden logic for going to local debug from play.vuejs.org
window.location.href = 'http://localhost:5173/' + window.location.hash
return
Expand Down

0 comments on commit 10ab8c0

Please sign in to comment.