ctx.openView()
以编程方式打开指定视图(抽屉、弹窗、内嵌页等)。由 FlowModelContext 提供,用于在 JSBlock、表格单元格、事件流等场景中打开已配置的 ChildPage 或 PopupAction 视图。
适用场景
注意:
ctx.openView需在存在 FlowModel 上下文的 RunJS 环境中可用;若 uid 对应的模型不存在,会自动创建 PopupActionModel 并持久化。
签名
参数说明
uid
视图模型的唯一标识。若不存在则会自动创建并保存。建议使用稳定的 UID,如 ${ctx.model.uid}-detail,以便多次打开同一弹窗时复用配置。

