From: Evan You Date: Fri, 15 Nov 2024 09:04:11 +0000 (+0800) Subject: chore(playground): reset version when opening local playground from reproduction X-Git-Tag: v3.5.13~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10ab8c0e7b6a2c0794d73d0d9d3b0bcd3b0cc175;p=thirdparty%2Fvuejs%2Fcore.git chore(playground): reset version when opening local playground from reproduction --- diff --git a/packages-private/sfc-playground/src/Header.vue b/packages-private/sfc-playground/src/Header.vue index aea6c022a3..bf1c9bad6e 100644 --- a/packages-private/sfc-playground/src/Header.vue +++ b/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