chore(playground): reset version when opening local playground from reproduction
Some checks are pending
ci / test (push) Waiting to run
ci / continuous-release (push) Waiting to run
size data / upload (push) Waiting to run

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

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