Browse Source

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

Hongkun 1 năm trước cách đây
mục cha
commit
902bd9c438
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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"