Explorar o código

chore(sfc-playground): resolve autosave conflict issue (#11970)

Hongkun hai 1 ano
pai
achega
902bd9c438
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages-private/sfc-playground/src/App.vue

+ 2 - 1
packages-private/sfc-playground/src/App.vue

@@ -136,7 +136,8 @@ onMounted(() => {
     @keydown.ctrl.s.prevent
     @keydown.meta.s.prevent
     :ssr="useSSRMode"
-    :autoSave="autoSave"
+    :model-value="autoSave"
+    :editorOptions="{ autoSaveText: false }"
     :store="store"
     :showCompileOutput="true"
     :autoResize="true"