fix(playground): 加载组件表单配置资源失败
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user