Type alias RemoveProps

RemoveProps: {
    confirmFn?: ((context: any) => Promise<any>);
    confirmMessage?: string;
    confirmTitle?: string;
    onCanceled?: ((context: any) => Promise<any>);
    onRemoved?: ((context: any) => Promise<any>);
    refreshTable: boolean;
    showSuccessNotification: boolean;
    [key: string]: any;
}

删除操作配置

Type declaration

  • [key: string]: any
  • Optional confirmFn?: ((context: any) => Promise<any>)
      • (context: any): Promise<any>
      • 自定义确认删除,抛出异常则取消

        Parameters

        • context: any

        Returns Promise<any>

  • Optional confirmMessage?: string

    自定义删除确认内容 confirm未配置时生效

  • Optional confirmTitle?: string

    自定义删除确认标题 confirm未配置时生效

  • Optional onCanceled?: ((context: any) => Promise<any>)
      • (context: any): Promise<any>
      • 当取消删除时

        Parameters

        • context: any

        Returns Promise<any>

  • Optional onRemoved?: ((context: any) => Promise<any>)
      • (context: any): Promise<any>
      • 删除成功后的操作

        Parameters

        • context: any

        Returns Promise<any>

  • refreshTable: boolean

    删除后刷新列表

  • showSuccessNotification: boolean

    显示成功提示

Generated using TypeDoc