Explorar o código

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

wxsm %!s(int64=4) %!d(string=hai) anos
pai
achega
b0275070e4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      packages/sfc-playground/src/App.vue

+ 2 - 0
packages/sfc-playground/src/App.vue

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