For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /reference/sdk/sapi/runtime/functions/mergeSectionVisible.md.
  • 简体中文
  • Function: mergeSectionVisible()

    function mergeSectionVisible<T>(sectionVisible: T, widgetVisible?: boolean | T): false | T;

    Defined in: sapi/runtime/form-visible.ts:7

    合并 MenuNavigator 节可见性与单个控件的 visible。

    PageBuilder 以前无条件写入节 visible,会盖掉控件自己的隐藏。 控件显式 false 时整项隐藏;其余情况沿用节切换。

    Type Parameters

    Type Parameter
    T

    Parameters

    ParameterType
    sectionVisibleT
    widgetVisible?boolean | T

    Returns

    false | T