mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
Merge branch 'release/1.0.26' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into release/1.0.26
This commit is contained in:
commit
4cf6637c4a
@ -257,6 +257,9 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
|||||||
// sync designMode
|
// sync designMode
|
||||||
this._designMode = host.designMode;
|
this._designMode = host.designMode;
|
||||||
|
|
||||||
|
// sync requestHandlersMap
|
||||||
|
this._requestHandlersMap = host.requestHandlersMap;
|
||||||
|
|
||||||
// sync device
|
// sync device
|
||||||
this._device = host.device;
|
this._device = host.device;
|
||||||
|
|
||||||
@ -318,6 +321,7 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
constants: {},
|
constants: {},
|
||||||
|
requestHandlersMap: this._requestHandlersMap,
|
||||||
};
|
};
|
||||||
host.injectionConsumer.consume((data) => {
|
host.injectionConsumer.consume((data) => {
|
||||||
// sync utils, i18n, contants,... config
|
// sync utils, i18n, contants,... config
|
||||||
@ -357,6 +361,10 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
|||||||
@computed get device() {
|
@computed get device() {
|
||||||
return this._device;
|
return this._device;
|
||||||
}
|
}
|
||||||
|
@obx.ref private _requestHandlersMap = null;
|
||||||
|
@computed get requestHandlersMap(): any {
|
||||||
|
return this._requestHandlersMap;
|
||||||
|
}
|
||||||
@obx.ref private _componentsMap = {};
|
@obx.ref private _componentsMap = {};
|
||||||
@computed get componentsMap(): any {
|
@computed get componentsMap(): any {
|
||||||
return this._componentsMap;
|
return this._componentsMap;
|
||||||
|
|||||||
@ -211,6 +211,9 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
|||||||
// sync designMode
|
// sync designMode
|
||||||
this._designMode = host.designMode;
|
this._designMode = host.designMode;
|
||||||
|
|
||||||
|
// sync requestHandlersMap
|
||||||
|
this._requestHandlersMap = host.requestHandlersMap;
|
||||||
|
|
||||||
// sync device
|
// sync device
|
||||||
this._device = host.device;
|
this._device = host.device;
|
||||||
});
|
});
|
||||||
@ -261,10 +264,11 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
|||||||
getUrlParams() {
|
getUrlParams() {
|
||||||
const search = history.location.search;
|
const search = history.location.search;
|
||||||
return parseQuery(search);
|
return parseQuery(search);
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
constants: {},
|
constants: {},
|
||||||
|
requestHandlersMap: this._requestHandlersMap,
|
||||||
};
|
};
|
||||||
host.injectionConsumer.consume((data) => {
|
host.injectionConsumer.consume((data) => {
|
||||||
// sync utils, i18n, contants,... config
|
// sync utils, i18n, contants,... config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user