mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-10 09:56:20 +00:00
fix: requestHandlersMap 没有加到 appContext 里
This commit is contained in:
parent
6bf75cd526
commit
a8d43c3ec8
@ -318,6 +318,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 +358,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;
|
||||||
|
|||||||
@ -261,10 +261,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