mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
fix: 修复 tree-select 增删改不可用的问题 (#2924)
This commit is contained in:
parent
d47f229745
commit
7315e4a27f
@ -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}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user