Explorar o código

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

Evan You hai 1 ano
pai
achega
10ab8c0e7b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages-private/sfc-playground/src/Header.vue

+ 1 - 0
packages-private/sfc-playground/src/Header.vue

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