feat(sfc-playground): prevent ctrl+s default behavior (#5066)

This commit is contained in:
wxsm 2021-12-12 10:01:15 +08:00 committed by GitHub
parent 57a09331b2
commit b0275070e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,8 @@ watchEffect(() => history.replaceState({}, '', store.serialize()))
<template> <template>
<Header :store="store" /> <Header :store="store" />
<Repl <Repl
@keydown.ctrl.s.prevent
@keydown.meta.s.prevent
:store="store" :store="store"
:showCompileOutput="true" :showCompileOutput="true"
:autoResize="true" :autoResize="true"