mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
Merge branch 'feat/device-mapper' into 'release/1.0.37'
feat: add deviceMapper to adaptor different components lib RT See merge request !1172493
This commit is contained in:
commit
fdea551617
@ -195,6 +195,9 @@ export class BuiltinSimulatorHost implements ISimulatorHost<BuiltinSimulatorProp
|
||||
}
|
||||
|
||||
get(key: string): any {
|
||||
if (key === 'device') {
|
||||
return this.designer?.editor?.get('deviceMapper')?.transform?.(this._props.device) || this._props.device
|
||||
}
|
||||
return this._props[key];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user