mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
避免设置 undefined 后把变量删了
This commit is contained in:
parent
dbdc7c2c4e
commit
603be2449c
@ -533,7 +533,7 @@ export default class ImageControl extends React.Component<
|
||||
: newValue;
|
||||
}
|
||||
|
||||
onChange((this.emitValue = newValue), undefined, changeImmediately);
|
||||
onChange((this.emitValue = newValue || ''), undefined, changeImmediately);
|
||||
}
|
||||
|
||||
handleSelect() {
|
||||
|
Loading…
Reference in New Issue
Block a user