mirror of https://github.com/vuejs/core.git
chore(playground): reset version when opening local playground from reproduction
This commit is contained in:
parent
d637bd6c01
commit
10ab8c0e7b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue