mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +08:00
fix: 测试:【组件优化第五批】树下拉框-属性-选项管理添加子选项,子选项层级为第六层级时,选项名称不能进行编辑; amis-saas-6427
Change-Id: If5b8a2b4497224584cbd886c2bec98239fbe5dbc
This commit is contained in:
parent
31353cb593
commit
979e3509d3
@ -269,7 +269,7 @@ export default class TreeOptionControl extends React.Component<
|
||||
}
|
||||
@autobind
|
||||
addChildOption(pathStr: string) {
|
||||
if (pathStr.split('-').length >= 7) {
|
||||
if (pathStr.split('-').length >= 6) {
|
||||
toast.warning('层级过深,建议使用【接口获取】管理选项', {closeButton: true});
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user