fix: 修复 tree-select 增删改不可用的问题 (#2924)

This commit is contained in:
RickCole 2021-11-11 20:00:47 +08:00 committed by GitHub
parent d47f229745
commit 7315e4a27f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,6 +478,19 @@ export default class TreeSelectControl extends React.Component<
minLength,
labelField,
nodePath,
onAdd,
creatable,
createTip,
addControls,
onEdit,
editable,
editTip,
editControls,
removable,
removeTip,
onDelete,
rootCreatable,
rootCreateTip,
translate: __,
deferLoad,
expandTreeOptions
@ -533,6 +546,18 @@ export default class TreeSelectControl extends React.Component<
pathSeparator={pathSeparator}
maxLength={maxLength}
minLength={minLength}
onAdd={onAdd}
creatable={creatable}
createTip={createTip}
rootCreatable={rootCreatable}
rootCreateTip={rootCreateTip}
onEdit={onEdit}
editable={editable}
editTip={editTip}
removable={removable}
removeTip={removeTip}
onDelete={onDelete}
bultinCUD={!addControls && !editControls}
onDeferLoad={deferLoad}
onExpandTree={expandTreeOptions}
/>