chore(playground): reset version when opening local playground from reproduction

This commit is contained in:
Evan You 2024-11-15 17:04:11 +08:00
parent d637bd6c01
commit 10ab8c0e7b
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
1 changed files with 1 additions and 0 deletions

View File

@ -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