Type alias ScopeContext

ScopeContext: {
    componentRef: any;
    form: any;
    getComponentRef: ((key: string) => any);
    index: number;
    key: string;
    mode: string;
    record?: any;
    row: any;
    value: any;
}

Type declaration

  • componentRef: any

    当前字段组件的ref

  • form: any

    表单数据

  • getComponentRef: ((key: string) => any)
      • (key: string): any
      • 获取其他字段组件ref

        Parameters

        • key: string

        Returns any

  • index: number

    第几行

  • key: string

    字段key

  • mode: string

    表单模式,add,view,edit

  • Optional record?: any

    naive ui 有record

  • row: any

    行数据

  • value: any

    字段值

Generated using TypeDoc