ソースを参照

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

Hongkun 1 年間 前
コミット
902bd9c438
1 ファイル変更2 行追加1 行削除
  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"