Parcourir la source

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

Hongkun il y a 1 an
Parent
commit
902bd9c438
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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"