From: Hongkun Date: Fri, 20 Sep 2024 08:44:49 +0000 (+0800) Subject: chore(sfc-playground): resolve autosave conflict issue (#11970) X-Git-Tag: v3.5.7~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=902bd9c438fb56387a4d8aedc15e317dc48cb458;p=thirdparty%2Fvuejs%2Fcore.git chore(sfc-playground): resolve autosave conflict issue (#11970) --- diff --git a/packages-private/sfc-playground/src/App.vue b/packages-private/sfc-playground/src/App.vue index 9ae0ecd923..c9295d41b0 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"