跳到主要内容

SwitchDisableCallback

type SwitchDisableCallback = (args) => boolean;

Defined in: packages/rxdb-model/dist/entity-table/columns/column-utils.d.ts:142

switch 禁用状态判断回调

Parameters​

ParameterTypeDescription
argsStylePropertyFunctionArgVTable 回调参数(用于获取当前行记录)

Returns​

boolean

true 表示禁用 switch