mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: 修复 combo 中使用 uuid 组件可能导致死循环的问题
This commit is contained in:
parent
5d9a284dd1
commit
b3b96868aa
@ -27,7 +27,7 @@ export default class UUIDControl extends React.Component<
|
||||
}
|
||||
|
||||
componentDidUpdate(props: FormControlProps) {
|
||||
if (!props.value) {
|
||||
if (!props.value && props.formInited !== false) {
|
||||
this.setValue();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user