]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(sfc-playground): resolve autosave conflict issue (#11970)
authorHongkun <penghongkun422@gmail.com>
Fri, 20 Sep 2024 08:44:49 +0000 (16:44 +0800)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2024 08:44:49 +0000 (16:44 +0800)
packages-private/sfc-playground/src/App.vue

index 9ae0ecd9236ec9291b1469264f5a72b5ebd01401..c9295d41b0855a3397fa19af3b4266bcb6a98089 100644 (file)
@@ -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"