diff --git a/packages/demo/src/editor/config.js b/packages/demo/src/editor/config.js index 88d9b7248..7223c6031 100644 --- a/packages/demo/src/editor/config.js +++ b/packages/demo/src/editor/config.js @@ -120,6 +120,12 @@ export default { init: async function init(editor) { const assets = await editor.utils.get('./assets.json'); editor.set('assets', assets); + const simulatorUrl = [ + 'https://dev.g.alicdn.com/ali-lowcode/ali-lowcode-engine/0.9.50/react-simulator-renderer.css', + 'https://dev.g.alicdn.com/ali-lowcode/ali-lowcode-engine/0.9.50/react-simulator-renderer.js', + ]; + editor.set('simulatorUrl', simulatorUrl); + // editor.set('renderEnv', 'rax'); const schema = await editor.utils.get('./schema.json'); editor.set('schema', schema); diff --git a/packages/designer/src/builtin-simulator/host.ts b/packages/designer/src/builtin-simulator/host.ts index 370892f17..20e417675 100644 --- a/packages/designer/src/builtin-simulator/host.ts +++ b/packages/designer/src/builtin-simulator/host.ts @@ -225,7 +225,7 @@ export class BuiltinSimulatorHost implements ISimulatorHost { @@ -24,6 +26,7 @@ export default class DesignerPlugin extends PureComponent ); diff --git a/packages/rax-simulator-renderer/package.json b/packages/rax-simulator-renderer/package.json index 8d7ecbdfd..a44d95f6b 100644 --- a/packages/rax-simulator-renderer/package.json +++ b/packages/rax-simulator-renderer/package.json @@ -55,5 +55,5 @@ "publishConfig": { "registry": "https://registry.npm.alibaba-inc.com" }, - "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.4-0/build/index.html" + "homepage": "https://unpkg.alibaba-inc.com/@ali/lowcode-rax-simulator-renderer@1.0.5-0/build/index.html" }