mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-04 09:15:16 +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 {
|
get(key: string): any {
|
||||||
|
if (key === 'device') {
|
||||||
|
return this.designer?.editor?.get('deviceMapper')?.transform?.(this._props.device) || this._props.device
|
||||||
|
}
|
||||||
return this._props[key];
|
return this._props[key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user