]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(playground): reset version when opening local playground from reproduction
authorEvan You <evan@vuejs.org>
Fri, 15 Nov 2024 09:04:11 +0000 (17:04 +0800)
committerEvan You <evan@vuejs.org>
Fri, 15 Nov 2024 09:04:25 +0000 (17:04 +0800)
packages-private/sfc-playground/src/Header.vue

index aea6c022a3e44bcbbe7485ef0f0904d95ac4f3ff..bf1c9bad6ebda90e123de73a803fae3f52122932 100644 (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