From ba20eb8cf1aebc735d75c6fb2f3023f0c61b8360 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Wed, 7 Dec 2022 18:57:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(playground):=20=E5=8A=A0=E8=BD=BD=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E8=A1=A8=E5=8D=95=E9=85=8D=E7=BD=AE=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/src/pages/Editor.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playground/src/pages/Editor.vue b/playground/src/pages/Editor.vue index 8e7dc90a..6bdfcbbc 100644 --- a/playground/src/pages/Editor.vue +++ b/playground/src/pages/Editor.vue @@ -158,13 +158,13 @@ const save = () => { editor.value?.editorService.resetModifiedNodeId(); }; -asyncLoadJs(`${VITE_ENTRY_PATH}/config/index.umd.js`).then(() => { +asyncLoadJs(`${VITE_ENTRY_PATH}/config/index.umd.cjs`).then(() => { propsConfigs.value = (globalThis as any).magicPresetConfigs; }); -asyncLoadJs(`${VITE_ENTRY_PATH}/value/index.umd.js`).then(() => { +asyncLoadJs(`${VITE_ENTRY_PATH}/value/index.umd.cjs`).then(() => { propsValues.value = (globalThis as any).magicPresetValues; }); -asyncLoadJs(`${VITE_ENTRY_PATH}/event/index.umd.js`).then(() => { +asyncLoadJs(`${VITE_ENTRY_PATH}/event/index.umd.cjs`).then(() => { eventMethodList.value = (globalThis as any).magicPresetEvents; });