From 902bd9c438fb56387a4d8aedc15e317dc48cb458 Mon Sep 17 00:00:00 2001 From: Hongkun Date: Fri, 20 Sep 2024 16:44:49 +0800 Subject: [PATCH] chore(sfc-playground): resolve autosave conflict issue (#11970) --- packages-private/sfc-playground/src/App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages-private/sfc-playground/src/App.vue b/packages-private/sfc-playground/src/App.vue index 9ae0ecd9236..c9295d41b08 100644 --- a/packages-private/sfc-playground/src/App.vue +++ b/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"