1
0
mirror of synced 2026-03-25 04:28:34 +08:00

feat(admin): 更新runtime

This commit is contained in:
roymondchen
2022-08-08 17:10:43 +08:00
committed by jia000
parent 1d8149b5eb
commit eba6cbccde
57 changed files with 42664 additions and 162 deletions

View File

@@ -66,13 +66,13 @@ export default defineComponent({
await initConfigByActId({ actId: Number(route.params.actId) });
};
asyncLoadJs('/runtime/assets/config.js').then(() => {
asyncLoadJs('/static/vue3/entry/config/index.umd.js').then(() => {
magicPresetConfigs.value = (window as any).magicPresetConfigs;
});
asyncLoadJs('/runtime/assets/value.js').then(() => {
asyncLoadJs('/static/vue3/entry/value/index.umd.js').then(() => {
magicPresetValues.value = (window as any).magicPresetValues;
});
asyncLoadJs('/runtime/assets/event.js').then(() => {
asyncLoadJs('/static/vue3/entry/event/index.umd.js').then(() => {
magicPresetEvents.value = (window as any).magicPresetEvents;
});
@@ -84,7 +84,7 @@ export default defineComponent({
componentList,
menu: topMenu(),
uiConfigs,
runtimeUrl: '/runtime/playground.html',
runtimeUrl: '/static/vue3/runtime/playground/index.html',
magicPresetValues,
magicPresetConfigs,
magicPresetEvents,